Test for means and medians

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

alice0301
Posts: 2
Joined: Fri Aug 16, 2013 6:58 am

Test for means and medians

Postby alice0301 » Fri Aug 16, 2013 7:08 am

I have my data for acquirer size and other variables such as premium for domestic and foreign acquisitions. My teacher asked me to test differences between domestic and foreign transactions by using two-sample t-test for means and Wilcoxon-test for medians. How to carry out such tests in Eviews?

Thanks!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Test for means and medians

Postby EViews Gareth » Fri Aug 16, 2013 8:05 am

Open them as a group, then click on View->Tests of Equality.

alice0301
Posts: 2
Joined: Fri Aug 16, 2013 6:58 am

Re: Test for means and medians

Postby alice0301 » Fri Aug 16, 2013 10:48 am

Hi as I have different samples for each groyp, eg: domestic group has 407 observations and foreign group has 56 observations. I chose the unstructed and set the frequency to 463. Is this right? I tried the way you told me previously but the result seems not right and the obervation showed to be 56. The mean and median I should test is the difference between domestic mean and foreign mean.
Open them as a group, then click on View->Tests of Equality.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Test for means and medians

Postby EViews Glenn » Fri Aug 16, 2013 1:02 pm

On the series menu for the variable of interest, select View/Descriptive Statistics & Tests/Stats by Classification... and enter the name of the variable that identifies domestic vs. foreign. [edit: note that Gareth's suggestion applies to settings where the foreign and domestic data are in different series objects]


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests