Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. > my_model <- gls(variable~Soil_type+Genotype+Soil_type:Genotype, data=my_data, na.action = na.omit)
  2.  
  3. > shapiro.test(resid(my_model, type = "normalized"))
  4.  
  5. Shapiro-Wilk normality test
  6.  
  7. data: resid(my_model, type = "normalized")
  8. W = 0.99199, p-value = 0.8568
  9.  
  10. > bartlett.test(resid(my_model, type = "normalized") ~ fitted(my_model, type = "normalized"))
  11.  
  12. Bartlett test of homogeneity of variances
  13.  
  14. data: resid(my_model, type = "normalized") by fitted(my_model, type = "normalized")
  15. Bartlett's K-squared = 29.118, df = 29, p-value = 0.4589
  16.  
  17. > anova(my_model)
  18. Denom. DF: 62
  19. numDF F-value p-value
  20. (Intercept) 1 1664.3700 <.0001
  21. Soil_type 2 121.1435 <.0001
  22. Genotype 9 3.9401 0.0005
  23. Soil_type:Genotype 18 1.3449 0.1930
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement