R Dataset / Package DAAG / moths
On this Picostat.com statistics page, you will find information about the moths data set which pertains to Moths Data. The moths data set is found in the DAAG R package. Try to load the moths data set in R by issuing the following command at the console data("moths"). This may load the data into a variable called moths. If R says the moths data set is not found, you can try installing the package by issuing this command install.packages("DAAG") and then attempt to reload the data with library("DAAG") followed by data("moths"). Perhaps strangley, if R gives you no output after entering a command, it means the command succeeded. If it succeeded you can see the data by typing moths at the command-line which should display the entire dataset.
If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the moths R data set. The size of this file is about 746 bytes.
This data frame contains the following columns:
Sharyn Wragg, formerly of Australian National University
print("Quasi Poisson Regression - Example 8.3") rbind(table(moths[,4]), sapply(split(moths[,-4], moths$habitat), apply,2, sum)) A.glm <- glm(formula = A ~ log(meters) + factor(habitat), family = quasipoisson, data = moths) summary(A.glm) # Note the huge standard errors moths$habitat <- relevel(moths$habitat, ref="Lowerside") A.glm <- glm(A ~ habitat + log(meters), family=quasipoisson, data=moths) summary(A.glm)$coef ## Consider as another possibility A2.glm <- glm(formula = A ~ sqrt(meters) + factor(habitat), family = quasipoisson(link=sqrt), data = moths) summary(A2.glm)
Dataset imported from https://www.r-project.org.
How To Register With a Username
How To Register With Google Single Sign On (SSO)
How To Login With a Username and Password
How To Login With Google Single Sign On (SSO)
How To Import a Dataset
How To Perform Statistical Analysis with Picostat
How To Use Educational Applications with Picostat
|Recent Queries For This Dataset|
No queries made on this dataset yet.
|Title||Authored on||Content type|
|OpenIntro Statistics Dataset - unemploy_pres||August 9, 2020 - 2:38 PM||Dataset|
|OpenIntro Statistics Dataset - house||August 9, 2020 - 12:25 PM||Dataset|
|R Dataset / Package evir / nidd.annual||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package Stat2Data / WeightLossIncentive4||March 9, 2018 - 1:06 PM||Dataset|
|R Dataset / Package HSAUR / clouds||March 9, 2018 - 1:06 PM||Dataset|