Contrast differences in prices under each level of different

Assignment Help Econometrics
Reference no: EM133672385

Experimental Data Analysis Practice and Assignment

We are going to use STATA15 as the analytical program of this course.

In Programes instal.lats => Matemàtiques you can find Stata 15.
We will open the main program and a new do-file editor to log the code of our analyses.

We start by importing into Stata the Excel data that you can download from the Aula Virtual of the course to the remote desktop: independence.xls

Independence Test

Statistics=> Summaries, tables and tests => Frequency tables => Two-way table with measures of association.

Select the contrast variables: Aveart1 in rows and Aveart4 in columns and select Pearson Chi square as the Statistic. ALT: tab Aveart1 Aveart4, chi2
Ho: variables are independent => P-value=0.233 Result: Ho Not rejected.
We can repeat with all pairs: avpri, avdif, avloc,...

Normality Test
We can also check whether a variable is normally distributed.
Graphics=> Histogram=> Select Aveart1 as main variable and then select normal density plot in the tab. We could also add Kernel.
Statistics => Summaries, tables and tests => Distributional Plots and tests => Skewness and kurtosis or Shapiro-Wilk: Select aveart1, avdift1, avloct1 and avprit1.
Ho: variable is normal. =>Result: No Reject.

 Repeat normality tests with aveart2, avdift2, avloct2 an d avprit2.
 Ho: variables are normal. I do not reject.
 By not rejecting normality I can use parametric statistics with them.
 For the other variables, except for avpr2t1 and avpr3t4, most normality tests are rejected, therefore with these price variables for different degrees of differentiation we will use non- parametric statistics.

Comparing means under normality
Statistics=> Summaries, tables and tests => Classical test of hypothesis => t-test
We have very interesting options: one sample, two- sample using groups, using variables and paired.
Given the structure of our data, we choose "two- sample using variables" and select Aveart1 and Aveart4.
We cannot reject the null of equality in favor of greater earnings in T1 (we could if we had an ex- ante hypothesis, using the one-tailed test result).

The t-test for two independent samples

Previous hypotheses: Normality, independence, equal or different variances.
Contrast variables: Avdift1 vs Avdift4, Avloct1 vs Avloct4 and Avprit1 vs Avprit4.
Significantly higher averages in t1 than in t4 in prices, and no significant differeces in locations and differentiation.

IMP! Alternative data configuration
Normally we do not have the data organized in different variable names (columns) for different treatments. Instead, it is standard to have one variable name and then an auxiliary variable indicating the treatment to which each datapoint (row) belongs.
File => import => excel => comparisons_independent_data.xls.
T-test using groups: Avear, Avdiff, Avloc and Avpri with Treatment as grouping variable. Same results!

Comparison of medians without assuming normality
To contrast differences in prices under each level of differentiation we will use non- parametric statistics because the normality tests had been rejected.
We will use the Mann-Whitney U test, also known as Wilcoxon rank-sum test.
If the samples were paired we would use the Wilcoxon matched-pairs signed-rank test

Mann-Whitney U test for 2 samples
Statistics => Summaries, tables and tests => nonparametric tests => Wilcoxon rank-sum test.
Contrast prices under each level of differentiation separately starting with Avpri0, with Treadi0 as the grouping variable.
Repeat with Avpri1, Avpri2 and avpri3. Change also the corresponding grouping variable!
With differentiation 1 MEDIAN prices are greater in treatment 1 than 4, but no significant differences for other differentiation levels.
(by Treatdi1, sort : summarize Avpri1, detail)

Correlation Analysis
An interesting analysis, specially if we want to do regression analysis is correlation analysis: Pearson (normality) or Spearman (non-parametric).
Statistics=> Summaries, tables and tests => Summary and descriptive statistics => Pairwise Correlations
Statistics => Summaries, tables and tests => nonparametric tests => Spearman Correlation.
Correlate Avear, Avdiff, Avpri using both methods.
We can display N, significance level and Bonferroni correct!

Correlation Analysis
Result: Average Price and Average Earnings are highly and significantly correlated.
As a consequence we would not like to use both as explanatory variables in a regression, to avoid multicollinearity problems.
But we could use for instance prices to explain earnings in a regression:
regress Avear Avpri Avdiff Avloc
We could also separate our analysis by treatment.

 You should use STATA15 to perform the kind of analyses that we have seen in this practice session and upload them in the Aula Virtual link in a pdf. Please also upload the .do file.
 Use the folowing dataset that you can download in the AV: File => import => excel
=> data intelligence and risk aversion test.xls.
 The maximum grade will be 2.5 points out of the total 10 points of the course.

Attachment:- Experimental Data Analysis Practice.rar

Reference no: EM133672385

Questions Cloud

Virtue ethics ethical egoism utilitarianism feminist ethics : If you follow the directive of your CEO so you can keep your dream job? Virtue ethics Ethical egoism Utilitarianism Feminist ethics.
Describe the ways in which the two theories are similar : Describe the ways in which the two theories are similar and how they differ. Is there anything with which you disagree or are there problems you can identify?
Features rechargeable batteries : TechWorks has a new eco-line that features rechargeable batteries, specifically for Roku remotes.
Identified-monetary penalties and nonmonetary penalties : Identified: monetary penalties and nonmonetary penalties. Nonmonetary penalties include probation
Contrast differences in prices under each level of different : Contrast differences in prices under each level of differentiation we will use non- parametric statistics because the normality tests had been rejected
Describe your data collection methods and rational : Describe the outcomes you are supporting and the benchmarks related to that outcome. Describe your data collection methods and rational.
How does your policy hold appropriate parties : How does your policy hold the appropriate parties to account? How does it address the values at stake?
What is weakness of discourse ethics : What is a weakness of discourse ethics? Determining the most ethical decision can only be done with the input of all stakeholders,
Non-prosecution agreement : CVS agreed to implement a variety of changes as part of the non-prosecution agreement.

Reviews

Write a Review

Econometrics Questions & Answers

  How does technological change affect a firm''s output

When is a production function said to have constant returns to scale, increasing returns to scale, or decreasing returns to scale?

  Does the study involve descriptive or inferential statistics

Are the variables measured in the study quan- titative or qualitative?

  What is the profit-maximizing quantity of output

What is the profit-maximizing quantity of output? On one diagram, sketch the total revenue and total cost curves. On another diagram, sketch the marginal revenue and marginal cost curves.

  Determine what is the annual equivalent expense

Major overhaul express of $5000 each are anticipated for a large piece of earthmoving equipment. The expenses will occur at EOY four and will continue every 3 years thereafter up to and including year 13. The interest rate is 12% per year.

  Where will the price settle in the long run

1. How do you know that the firm represented in the graph above is a purely competitive firm 2. To maximize profits, this firm will produce at what output level (one letter) 3. Explain why this MR=MC position is the profit-maximizing position for any..

  What is probability of finding the mean of a daily sample

A truck manufacturer monitors the width of the door seam as vehicles come off its assembly line. the seam width is the distance between the edge of the door and the truck body, in inches. these data are 62 days of measurements of a passenger door ..

  Calculate and interpret the z-score for a sales associate

Suppose annual salaries for sales associates from a particular store have a mean of $32,500 and a standard deviation of $2,500. a. Calculate and interpret the z-score for a sales associate who makes $36,000.

  How many surgeries should each doctor perform

If Adi believes that Jill will abide by their collusive agreement and perform only three surgeries, find a number of surgeries that Adi could perform that would maximize his profits.

  What implicit assumptions about causality are embedded

Looking at the pricing equations (1, 2), what implicit assumptions about causality are embedded? Build a P Monte-Carlo generator for the system of prices (M, {Pi}, π*) in continuous time, ignoring random auction times, pretending you see all prices a..

  How much output will competitor prodcue

Assume we have a profitmaximizing firm for which P=17-Q, and TC=5Q=Q^2/2, where P is theprice of output Q, and TC is the total cost of production. 1. Suppose the firm behaved likea perfect competitor in the short-run.

  The construction of a dam will cost 1000 at time 0 500 in

the construction of a dam will cost 1000 at time 0 500 in year 1 500 in year 2. it will be completed at the end of year

  Did g.m. sell 6,800 lemons to people who bought the pickups

Did G.M. sell 6,800 lemons to people who bought the pickups? If G.M. did, what was the private information that it had that buyers did not know? If G.M. didn't, explain why not.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd