Displaying 2 results from an estimated 2 matches for "intercetpt".
Did you mean:
intercept
2007 Aug 28
1
FW: How to fit an linear model withou intercept
...be
> zero and display the line on the scattter # plot.
> fitZeroInt<-lm(y~-1+x)
> abline(fitZeroInt,lty=2)
>
> # Compare fits.
> summary(fitNormalReg)
> summary(fitZeroInt)
> # There is a statistically significant difference # between the models -
> the model with and intercetpt, # the "normal" regression is the better
> fit.
> anova(fit1,fit2)
>
> # Center y and x by subtracting their means.
> yCentered<-y-mean(y)
> xCentered<-x-mean(x)
> # Regress the centered y values on the centered x values. This # will
> give us a model with an...
2007 Aug 23
7
Histogram
Hello,
I wanted to create a histogram, but somehow I got stuck...
The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5
The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5
Nothing I tried worked... Can anyone help me please?
Thanks
Tobias
--
View this message in context: http://www.nabble.com/Histogram-tf4315900.html#a12288850
Sent from the R help mailing list archive at Nabble.com.