Displaying 5 results from an estimated 5 matches for "mathanmath".
2009 Apr 29
2
Kolmogorov-Smirnov test
I got a distribution function and a empirical distribution function. How do I
make to Kolmogorov-Smirnov test in R.
Lets call the empirical distribution function >Fn on [0,1]
                   and the distribution function >F  on [0,1]
ks.test(              )
thanks for the help
-- 
View this message in context: http://www.nabble.com/Kolmogorov-Smirnov-test-tp23296096p23296096.html
Sent
2009 May 06
2
Summary help
Hi, I have fittet a gamma model, and is wondering if I can read the shape and
the scale direct from the summary  
                           Estimate     Std. Error    t value    Pr(>|t|)    
(Intercept)              1.612e+00  4.735e-02  34.052   <2e-16 ***
myvalue                  3.564e-02  2.787e-03  12.788   <2e-16 *** 
...
Is the shape = 1.1612e+00
and the scale = 3.564e-02 ??
is
2009 Apr 28
1
How to read the summary
How can I from the summary function, decide which glm (fit1, fit2 or fit3)
fits to data best? I don't know what to look after, so I would please
explain the important output.
> fit1 <- glm(Y~X, family=gaussian(link="identity"))
> fit2 <- glm(Y~X, family=gaussian(link="log"))
> fit3 <- glm(Y~X, family=Gamma(link="log"))
> summary(fit1)
Call:
2009 May 08
1
glm fit
Hi, I try to ask here, because I hope someone will help me understand this
problem-
I have fittet a glm in R with the results
> glm1 <-
> glm(log(claims)~log(sum)*as.factor(grp),family=gaussian(link="identity"))
> summary(glm1)
Call:
glm(formula = log(claims) ~ log(sum) * as.factor(grp), family =
gaussian(link = "identity"))
Deviance Residuals: 
    Min       1Q
2009 Apr 27
3
Generalized linear models
I have to fit a generalized linear model in R, and I have never done this
before, so I'm in very much doubt.
I have a dataset (of 4036 observations)
  claims	      sum	              grp
1	3852	      34570293	          1
2	1194	      7776468	            1
3	3916	      26343305          1
4	1258	      5502915	           1
5	11594	    711453346	        1
...
there are 4 groups (grp).
The task