how to calculate Kruskal-Wallis tests

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

momo
Posts: 2
Joined: Fri Sep 24, 2010 3:37 pm

how to calculate Kruskal-Wallis tests

Postby momo » Fri Sep 24, 2010 11:10 pm

Hi,

Please, how to calculate Kruskal-Wallis tests for the four groups of companies (only domestically orientated companies, exporters, ‘direct investors’ and mixed strategy user) and to know are significantly different?

Kruskal-Wallis tests for the log values of the variables:
age, number of employees, productivity and intangible fixed assets

Remark: the observations included (off-course) in one file, so should I make a distinguish between the groups by a dummy for example

what is the commands, and what does mean in exact the outcome variable shown in thewindow

is it for example to do new variable with four values 1,2,3 and 4 represents four types of companies and use it ad outcome and other variables shown above used as a defining groups variables.

thanks in advance

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

Re: how to calculate Kruskal-Wallis tests

Postby EViews Glenn » Mon Sep 27, 2010 11:33 am

If the data for the four groups of companies are stacked in a single series, then create an indicator variable (with values say 1, 2, 3, 4) for which group each observation is in, then do an Equality Test by Classification from the single series. If they are in different series, then create a group and do the tests of equality. In both cases, the test is listed under Median tests.

The manual offers a description of the Kruskal-Wallis test with index entries that will point you to the right place.


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests