199k views
3 votes
WE1 Using RStudio

1. Import Insurance data into RStudio
2. Assess the normality of the following variables: claim
amount, coverage, hoursehold income, and deductible (explain
whether or not the variab

1 Answer

2 votes

Final answer:

To import Insurance data into RStudio, use the read.csv() function. Assess the normality of variables using histograms, Q-Q plots, and statistical tests.

Step-by-step explanation:

To import Insurance data into RStudio, you can use the read.csv() function. You need to download the insurance data file and specify the file path in the function. For example:

data <- read.csv('C:/path/to/insurance_data.csv')

To assess the normality of the variables claim amount, coverage, household income, and deductible, you can use various methods such as histograms, Q-Q plots, and statistical tests. These methods will help you analyze if the data follows a normal distribution or not. For example, you can create histograms for each variable using the hist() function and check if the distribution is approximately bell-shaped.

Once you have examined the variables' normality, you can make conclusions about whether or not they follow a normal distribution.

User Farah Nazifa
by
8.4k points