Pages

Wednesday, 23 January 2013

IT Lab Session 3

Q1A)


Since the shape of the residual curve is parabola and not random, residual regression does not follow linearity

Q1B)


Since the shape of the residual curve is random, residual regression follow linearity

Q2)

 P value is 0,687. So we do not have sufficient evidance to reject that the comfort levels of the three chairs are similar

Tuesday, 15 January 2013

IT Lab Session 2

1) Create matrices, select some columns and use cbind to create new matrix


2) Multiply two matrices


3) Generate regression data from 01 Dec 2012 to 31 De 2012 NSE data


4) Generate Normal distribution data and plot it


 plot(sort(x), dnorm(sort(x),5,2))


Tuesday, 8 January 2013

IT Lab Session 1

Question 0) Draw a line
Answer) 
             x<-c(1,2,3)
             plot(x,type="l")

Question 1) Draw a histogram
Answer)
             x<-c(1,2,3)
             plot(x,type='h')

Question 2) Plot both line and points with graph and axes names
Answer)
             plot(zcoll, type="b", main="NSE", xlab="Time", ylab="Value")
Question 3) Plot a scatter graph
Answer)
              plot(zcoll1,zcoll,main="NSE",xlab="High",ylab="Low")

Question 4) Get maximum from "Max" column and minimum from "Min" column
Answer)