Question

Describe a fictional example and generate a small data set in which data are heteroscedastic and...

Describe a fictional example and generate a small data set in which data are heteroscedastic and you need to apply a GLS.

Homework Answers

Answer #1

given that

Describe a fictional example and generate a small data set in which data are heteroscedastic and you need to apply a GLS.

one example is when the independent variable is the monthly income of a person in $ and the dependent variable is the expenses on food. we think that in general as the income of a person increases he tends to use more money on food expenses with significant variability. the following is illustrated via the plot shown below.

the R code

> set.seed(123)

> income<-seq(1000,10000,100)

> food_expense <- rnorm(n=91, mean=0.2*income, sd=0.4* income)

> plot(income,food_expense)

and here is the plot.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Generate a data set from a normal distribution. Then you can apply bootstrap method to the...
Generate a data set from a normal distribution. Then you can apply bootstrap method to the generated data to obtain the empirical distribution of the coefficient of variation: sample standard deviation over sample mean, that is cv = s/¯ x. Describe this distribution. Also please describe the algorithm and attach the R code
in your own words please describe the steps in finding the median of a data set....
in your own words please describe the steps in finding the median of a data set. Please give an example with your explanation.
Name an example of a real-world data set, not yet mentioned in the course, where you...
Name an example of a real-world data set, not yet mentioned in the course, where you would typically expect to see a normal distribution. Be sure to describe what the labels would be for the horizontal and vertical axis of the display. Then explain why you would expect a normal distribution. What range of data values would you expect to represent 1 standard deviation from the mean?
Is it possible for a quantitative data set to have no mean no median, or no...
Is it possible for a quantitative data set to have no mean no median, or no mode?Give an example of a data set for which this summary measure does not exist. chapter 3 of the book Introductory statistics my first time taking statistic need help
What is an example of when you would want consistent data and, therefore, a small standard...
What is an example of when you would want consistent data and, therefore, a small standard deviation??
1) Generate a data set with three variables (X, Y and Z). X and Y have...
1) Generate a data set with three variables (X, Y and Z). X and Y have 10 observations for each (N=10), and Z has 13 observations (N=13). Each observation should have two digits (such as “83” or “8.3”). 2) Draw a stem-and-leaf display for variable Z only and draw a box plot display for variable Z after specifying the 5 numbers (UEX, LEX, FU, FL, MD). 3) Calculate the mean and standard deviation for variable X 4) Calculate the mean...
Describe a data set where the mean would be the most appropriate measure of center. Describe...
Describe a data set where the mean would be the most appropriate measure of center. Describe a data set where the mean is not the most appropriate measure of center. What measure of center should be used and why?
Describe a data set that you have encountered or could envision that would be applicable to...
Describe a data set that you have encountered or could envision that would be applicable to your current job, a past job, or a life situation. Identify two (2) options for graphically representing those data to present to decision-makers, such a pie charts, time series, Pareto charts, histograms, etc. Assess the pros and cons of each graphical option. I work for a cleaning company, an example related to this field would be very beneficial.
You will need to generate a set of graphs to answer this question. Concentration vs time...
You will need to generate a set of graphs to answer this question. Concentration vs time data for the following decomposition reaction was collected at 300 K. The data is shown in the table below. What is the rate constant for the reaction at this temperature (in units of min-1)? H2O2(aq) → H2O(l) + 1/2 O2(g) time (min) [H2O2](mol/L) 0 0.00915 500 0.00486 1000 0.00256 1500 0.00136 2000 0.00072
Why is it necessary to measure dispersion to describe a data set?
Why is it necessary to measure dispersion to describe a data set?