You can use any data set
Using the variables of interest, create a chart in R...
You can use any data set
Using the variables of interest, create a chart in R (use ggplot
library). This chart should be able to present to the reader what
the relationship between the two variables are. If should answer,
or hint towards an answer, to your question.
Data Set A- 7,7,7,9,9,9,10
Data Set B- 4,6,6,6,8,9,9,9,10,10,10
Step 1
Create a bar graph that examines...
Data Set A- 7,7,7,9,9,9,10
Data Set B- 4,6,6,6,8,9,9,9,10,10,10
Step 1
Create a bar graph that examines a variable or variables in
your data set.
Step 2
Find the sample mean, median (if it exists) mode for each set
of data
Next find the sample standard deviations for each set of
data
Create a box and whisker plot for each variable for each set
data
Eliminate any outliers from the samples. Redo part 1 for each
variable (if necessary, if not...
You are given the following data set: {(0,0), (0.5,0.6),
(1,0.9), (1.1, 1), (1.5, 1.7)}, where the...
You are given the following data set: {(0,0), (0.5,0.6),
(1,0.9), (1.1, 1), (1.5, 1.7)}, where the first coordinate is the
independent (explanatory) variable, and the second coordinate is
the dependent variable.
(a) Find a best fit model if the model is restricted to just be
a constant (i.e. the best fit line has slope 0). (b) What is the
mean squared error of (a)?
(c) What is the mean squared error of the model that has
y-intercept 0 and slope...
A Guide to SQL Questions
1. How do you create a table using SQL?
2. How...
A Guide to SQL Questions
1. How do you create a table using SQL?
2. How do you delete a table using SQL?
3. What are the common data types used to define columns using
SQL?
4. Identify the best data type to use to store the following
data in Oracle, in SQL Server, and in Access:
a. The month, day, and year that an employee was
hired
b. An employee’s Social Security number
c. The department...
i) Show how you would create two dummy variables,
d1 and d2, for when a person...
i) Show how you would create two dummy variables,
d1 and d2, for when a person started smoking,
if we wanted never smokers to be the referent level.
D1={ 1; if smoking as an adult, 0; if
otherwise
D2={ 1; if smoking as a child, 0; if
otherwise
ii) Using the dummy variables from part (i), suppose you decide
to do the analysis using a multiple regression model:
Y = b0
+ b1d1 + b2d2 +
b3age + b4(d1)(age) +
b5(d2)(age) +...
r code
Load the “star” data from the “faraway” package, and model
“temp” using “light”.
library(faraway)...
r code
Load the “star” data from the “faraway” package, and model
“temp” using “light”.
library(faraway)
data(star)
fit = lm(temp ~ light, data = star)
One may also suspect that the residuals (use all the data)
follow a t distribution instead of normal. Using the same logic
that we produced the QQ plot for comparing to the normal
distribution, produce a QQ plot for comparing to a t distribution.
You need to decide the degrees of freedom yourself (consider df...