Recent content by noormohid

  1. N

    HELP

    what output just run the code if you have r. thank you all for wasting my time :)
  2. N

    HELP

    Can one of you please solve this and send the code? Deadline is to tonight and I really have a lot to cover with mids going on
  3. N

    HELP

    The abline doesn’t fit the scatterplot. It shows a line not passing through the points.
  4. N

    HELP

    I just have to reverse plot the regression line How do I do that? As in obtain the scatterplot from this and then show this line going through it
  5. N

    HELP

    I don’t get it
  6. N

    HELP

    But my summary function shows different value of sigma as compared to the entered value. Also the assignment is asking me to fit the regression line to the data
  7. N

    HELP

    > x = rnorm > x = rnorm(30,0,1) > y = rnorm(30,0,1) > y = 32+ 11*x + rnorm(30,0,3.815786)> plot(x,y) > asd= lm(y~x) > summary(asd) Call: lm(formula = y ~ x) Residuals: Min 1Q Median 3Q Max -9.163 -2.430 -0.205 2.390 9.227 Coefficients: Estimate Std. Error t value...
  8. N

    HELP

    now when I type abline(asd) the regression line doesn't show up
  9. N

    HELP

    > x = rnorm> x = rnorm(30,0,1)> y = rnorm(30,0,1)> y = 32+ 11*x + rnorm(30,0,3.815786)> plot(x,y)> asd= lm(y~x)> summary(asd)Call:lm(formula = y ~ x)Residuals: Min 1Q Median 3Q Max -9.163 -2.430 -0.205 2.390 9.227 Coefficients: Estimate Std. Error t value Pr(>|t|)...
  10. N

    HELP

    also is the e in the regression model the standard error or the sum of least squares?
  11. N

    HELP

    so basically I don't understand what I should generate. I generated 30 random values for x and used the regression model to generate 30 values of y with error calculated using the error variance. I get the scatterplot but the abline function doesn't give any output. also the value for sigma is...
  12. N

    HELP

    In R software, randomly generate the bivariate data of 30 observations for regression model Y = 32 + 11X + ε, with X ∼ N(0,1);ε ∼ N(0,s). Let the error variance s is the square root of the last 3 digits from your student ID. Save the data as .csv file. Fit the simple linear regression model to...