Question

In: Statistics and Probability

Can you please check my work? I used R but it's very basic. I searched for...

Can you please check my work? I used R but it's very basic. I searched for this question on Chegg to check my answer but my numbers are slightly different. What did I do wrong?

Question: Calculate confidence intervals for population variance and standard deviation. Assume that samples are simple random samples and taken from a normal population. α=0.05, sample size=30,s=3.5

stdev =3.5
df = 29
n = 30
alpha = 0.05
qchisq(0.05,df,lower.tail = FALSE)
onechi <- 42.55679
#[1] 42.55697
qchisq(0.05,df)
#[1] 17.70837
twochi <- 17.70837

#CI for standard dev
(LowerCI.stdev = (sqrt(df*stdev^2/onechi)))
#[1] 2.889233
(UpperCI.stdev = (sqrt(df*stdev^2/twochi)))
#[1] 4.478966
cbind(LowerCI.stdev,UpperCI.stdev)
# LowerCI.stdev UpperCI.stdev
# [1,] 2.889233 4.478966

#CI for variance
(LowerCI.var = (df*stdev^2)/onechi)
#[1] 8.347669
(UpperCI.var = (df*stdev^2)/twochi)
#[1] 20.06113
cbind(LowerCI.var,UpperCI.var)

Solutions

Expert Solution

Confidance interval for polpulation variance is,

Given :

n = 30 , S = 3.5 ,alpha=0.05

To find critical values we devide alpha/2

Using R,

> stdev=3.5
> n=30
> df = 29
> alpha = 0.05
>
> onechi=qchisq(0.05/2,df,lower.tail = FALSE)
> onechi
[1] 45.72229

> twochi=qchisq(0.05/2,df)
> twochi
[1] 16.04707

>
> #CI for standard dev
>
> (LowerCI.stdev = (sqrt(df*stdev^2/onechi)))
[1] 2.787424
>
> (UpperCI.stdev = (sqrt(df*stdev^2/twochi)))
[1] 4.705103
>
> cbind(LowerCI.stdev,UpperCI.stdev)
LowerCI.stdev UpperCI.stdev
[1,] 2.787424 4.705103

>
>
> #CI for variance
>
> (LowerCI.var = (df*stdev^2)/onechi)
[1] 7.769734
>
> (UpperCI.var = (df*stdev^2)/twochi)
[1] 22.138
>
> cbind(LowerCI.var,UpperCI.var)
LowerCI.var UpperCI.var
[1,] 7.769734 22.138

>

Confidance interval for standard deviation is [2.787424 4.705103 ].

Confidance interval for Variance is [ 7.769734 22.138]


Related Solutions

I am struggling with easy problem. Can you pls check my work ? The patient is...
I am struggling with easy problem. Can you pls check my work ? The patient is to receive 500 mL of D5W over 6 hours . What is the drip rate per minute if the tubing provides 12 gtts per mL? Gtt/min 12gtt/ml x 500/360 min =6000/360=118 gtt/min A patient who weighs 74 pounds has an order for Advil (ibuprofen) 3.5 mg/kg every 6 hours. How many mg will you give in a single dose? 3,5MG /KG X33.6KG =118 MG...
Can someone please provide the answers so I can check my work? Baldwin Corporation Excerpts from...
Can someone please provide the answers so I can check my work? Baldwin Corporation Excerpts from the Statement of Financial Position for Baldwin Corporation as of September 30, Year 5, are presented below. Cash $   950,000 Accounts receivable (net) 1,675,000 Inventories   2,806,000 Total current assets $5,431,000 Accounts payable $1,004,000 Accrued liabilities      785,000 Total current liabilities $1,789,000 The Board of directors of Baldwin Corporation met on October 4, Year 5, and declared regular quarterly cash dividends amounting to $750,000 ($0.60 per share)....
Can you please check my answers and if I am wrong correct me. Thank you! A....
Can you please check my answers and if I am wrong correct me. Thank you! A. In today's interconnected world, many central banks communicate regularly and frequently with the public about the state of the economy, the economic outlook, and the likely future course of monetary policy. Communication about the likely future course of monetary policy is known as "forward guidance.". If the central bank increases the reserve ratio, as the market has perfectly expected, which of the following will...
I have a problem with my code. It does not run. Please can someone check the...
I have a problem with my code. It does not run. Please can someone check the code and tell me where I went wrong? This is the question: Program Specification: Write a C program that takes the length and width of a rectangular yard, and the length and width of a rectangular house (that must be completely contained in the yard specified) as input values. Assuming that the yard has grass growing every where that the house is not covering,...
can you check if my answers are correct and can you please type the correct answers...
can you check if my answers are correct and can you please type the correct answers for each question 5 points) Trevor is interested in purchasing the local hardware/electronic goods store in a small town in South Ohio. After examining accounting records for the past several years, he found that the store has been grossing over $850 per day about 60% of the business days it is open. Estimate the probability that the store will gross over $850 at least...
how can i put in the financial calculator Check My Work (1 remaining) Click here to...
how can i put in the financial calculator Check My Work (1 remaining) Click here to read the eBook: Uneven Cash Flows PV OF CASH FLOW STREAM A rookie quarterback is negotiating his first NFL contract. His opportunity cost is 6%. He has been offered three possible 4-year contracts. Payments are guaranteed, and they would be made at the end of each year. Terms of each contract are as follows: 1 2 3 4 Contract 1 $2,500,000 $2,500,000 $2,500,000 $2,500,000...
I've did most of the work i just need someone to check if my work is...
I've did most of the work i just need someone to check if my work is correct Maryam and Hanadi are planning to open a shop to sell female shoes in Abu Dhabi. The venue of the shop is decided to be a rented premises in Marina Mall. They wish to start their operations from 01 July, 2020. The following information is available about the company’s operations. i. The company predicts a sale price of AED 350 per unit. Sales...
Please check my work. The purpose of this exercise is to provide students with the opportunity...
Please check my work. The purpose of this exercise is to provide students with the opportunity to normalize data. Assignment: Identify what fields from the list below belong to which table. If you are uncertain, place the field under the column with your argument on why it should belong. Write your answers in the columns below the table names. COURSE FACULTY LOCATION SECTION STUDENT CourseID CourseNumber CourseName CreditHours Status Description Days StartTime EndTime FacultyID Status FirstName LastName WorkPhone HomePhone CellPhone...
I have bolded the answers I chose. I just need someone to check my work and...
I have bolded the answers I chose. I just need someone to check my work and if I'm wrong possibly explain why, please? 1. If a stock pays a dividend, the owner of a call option will see the value of their option decrease by the amount of that dividend payment. a. true b. false 2. DEF stock currently trades for $40. Both American calls and puts are available on the stock. All else being constant, which of the following...
Please typing if you can i will appreciate  had my answers but i need to compare my...
Please typing if you can i will appreciate  had my answers but i need to compare my solution . o   changes you have had to personally make due to the Coronavirus pandemic o   how you feel about those changes; how you are coping o   economic impacts for you, friends, and/or family o   educational impacts for you, friends or family Typing please it is help me for grammar
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT