Question

So, I am trying to perform a goodness of fit test on a set of data. The data consists of one thousand samples with values that range between 3.9 to 15.5. In the problem it is stated that this data could have either a gamma or normal distribution and I am meant to figure out which of these distributions it is closer to due to the results of two goodness of fit tests (one assuming gamma distribution and the other assuming normal distribution).

The instructions state that, for the step I am on, I should assume that the data has a normal distribution. My main issue in solving this problem is that the formula used for the goodness of fit test requires an observed value and an expected value. If the thousand data points provided represent observed values, how would I go figuring out the expected values?

OTHER INFORMATION: I have already made a histogram of the data, and found the mean and standard deviation. If I can use this information to help me figure out the expected values, I would love to know how.

Thanks!

Answer #1

You need to make a frequency distribution for the data. If one of the class intervals in your frequency distribution is (a,b), the observed frequency is the number of observations lying between the values a and b out of 1000 generated observations. For that class the expected frequency is

1000*P(a<X<b), where the distribution of X is either gamma or normal, as you set initially. For any other class, the expected frequencies can be generated similarly.

I am trying to figure out how to find the test statistic using
Excel. I understand the formula- that I need to use parameter 'p'
and 'normal distribution' ….z= sample proportion and minus the
'population portion' then we divide p*q and divide n -sample size.
I understand how to populate the data in the formula. I just can't
figure out how to solve this using Excel. (my only option with my
class) I need step by step directions if possible....

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~
~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~
Goodness of Fit
Microhabitat factors associated with forage and bed sites of
barking deer in Hainan Island, China, were examined. The sample of
477 examined sites where the deer forage were categorized by
habitat as follows:
Habitat
Woods
Cultivated grassplots
Deciduous forests
Other
Deer forage sites
15
16
50
386
In this region, woods make up 4.8% of the land, cultivated
grassplots make up 14.7%, and deciduous forests make up...

When should I use the Sign Test (single
variable)?
Remember that some tests, such as chi squared, can be used under
various circumstances. The goal of the test changes based on the
situation. Pay attention to the specific conditions noted in
parenthesis to ensure you are picking the correct goal.
A.
Test to see if the frequency data from a population fit a
discrete probability distribution.
B.
Compare categorical frequency data with an expected population
proportion. No difference between observed...

5. In general, when
performing Chi-square (goodness-of-fit) on a set of data, what does
it mean to fail to reject your null hypothesis? That is,
what does it tell you about your data? ____________
__________________________________________________________________________________________
6. Suppose you must reject
your null hypothesis. What would that mean about your
experimental hypothesis?
_______________________________________________________________________________
7a. Based on the
c2value, the p-value is determined. What does
a p-value tell you? ______________
__________________________________________________________________________________________
7b. As
c2 increases, the p-value
____________________.
7c. Assume that
Chi-square analysis of experimental data gives a p-value of
0.04. What...

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~
~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~
Goodness of Fit
Microhabitat factors associated with forage and bed sites of
barking deer in Hainan Island, China, were examined. The sample of
477 examined sites where the deer forage were categorized by
habitat as follows:
Habitat
Woods
Cultivated grassplots
Deciduous forests
Other
Deer forage sites
15
16
50
386
In this region, woods make up 4.8% of the land, cultivated
grassplots make up 14.7%, and deciduous forests make up...

One study on the effects of cannabis used rats as test
organisms; data in the table below describe the weight (g) of
livers harvested from some of the test rats.
13.47, 12.19, 6.35, 12.62, 6.8, 6.78, 6.62, 10.3, 10.21, 8.47,
5.56, 9.83
7.62, 4, 9.82, 5.2, 8.61, 11.7, 9.76, 12.16, 7.87, 7.16,
12.31, 16.9, 6.72 Use these data to answer the following
questions.
a) Fill in the missing sample statistics in the table; enter
values to three decimal places.
Sample...

I need to know what kind of t-test to use for this problem, and
how to figure it out in SPSS ONLY.
SCENARIO 1: Previous research indicates that
children borne by diabetic mothers may suffer from high blood
pressure, among other health problems. A group of researchers
collected data on the systolic blood pressures, in mm Hg, of 99
participants borne by diabetic mothers (diabet). Systolic
blood pressure is considered within a normal range if it is under
120 mm...

Question 4 please although I am unsure of my answers for the
rest as well :(
Here is the full list for background info.
Consider a significance test for a null hypothesis versus a
two-sided alternative. State all values of a standard normal test
statistic z that will give a result significant at the 10%
level but not at the 5% level of significance. (Sec. 6.2)
You perform 1,000 significance tests using α = 0.01.
Assuming that all the null...

A marketing researcher has to choose between three car models
that consumers will want to purchase. He had 120 men and 80 women
decide which of the three designs were their favorite. The results
are below.
Car Model 1
Car Model 2
Car Model 3
Row Totals
Men
52
28
40
120
Women
24
26
30
80
Column Totals
76
54
70
n = 200
Assuming, a null hypothesis, how many of the women would be
expected to prefer Car...

I. Solve the following problem:
For the following data:
1, 1, 2, 2, 3, 3, 3, 3, 4, 4, 5, 6 n = 12
b) Calculate
1) the average or average
2) quartile-1
3) quartile-2 or medium
4) quartile-3
5) Draw box diagram (Box & Wisker)
II. PROBABILITY
1. Answer the questions using the following
contingency table, which collects the results of a study to 400
customers of a store where you want to analyze the payment
method.
_______B__________BC_____
A...

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 16 minutes ago

asked 16 minutes ago

asked 21 minutes ago

asked 22 minutes ago

asked 25 minutes ago

asked 32 minutes ago

asked 36 minutes ago

asked 41 minutes ago

asked 41 minutes ago

asked 43 minutes ago

asked 49 minutes ago

asked 50 minutes ago