Conduct ANOVA (analysis of variance) and Regression coefficients to the data from data (” cystfibr ”) database. You can choose any variable you like to interpret. In the report, you need to state the result of coefficients and significance to any variables you like both under ANOVA and multivariate analysis. Please provide a specific interpretation of R results.
Clue:
Import library(ISwR)
The model code example:
This ANOVA test was performed to test if the coefficients at all contributed to the
variation of pemax. Weight, bpm, and fev1 are significant because they are
< 0.05. Age in this case is .31389 and is not significant in this test.
Weight has a positive impact on pemax.
bpm has a negative impact on pemax (bpm increases pemax decreases)
fev1 and weight have a positive impact (fev1 and weight increase pemax increases)
Question 2.
The secher data(“secher”) are best analyzed after log-transforming birth weight as well as the abdominal and biparietal diameters. Fit a prediction weight as well as abdominal and biparietal diameters. For a prediction equation for birth weight. How much is gained by using both diameters in a prediction equation? The sum of the two regression coefficients is almost identical and equal to 3. Can this be given a nice interpretation to our analysis?
Please provide step by step on your analysis and code you use to find out the result.
Clue:
By looking aat model_ad, model_bpd, and model_combined 85% is increased when using both diameters. As r^2 increases, the variability becomes more and more obvious.
When the abdominal and biparietal model are added together, we get a value close to 3 showing that the prediction is accurate.
Just an additional question (this will not be graded). When should we consider “log-transforming” a dataset? This is a very common practice in data science.
Using log-transforming can help reduce variance and outliers.