Calculating Statistical Distribution Functions in EViews without using commands.

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

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

VIKASDIXIT
Posts: 12
Joined: Tue Oct 14, 2014 2:50 am
Location: India

Calculating Statistical Distribution Functions in EViews without using commands.

Postby VIKASDIXIT » Thu Jan 06, 2022 12:55 am

Hello all! Season's greetings! I am writing this to know if it is somehow possible in EViews to calculate statistical distribution functions without using commands. I wish to compute CDF, PDF and Quantals for some series of observations for uniform distribution and t-distribution. Being visually challenged, I depend on screen readers, such as Jaws; and unfortunately, EViews has, so far, not paid any attention to improve its compatibility/accessibility with screen readers. When I try to insert command for calculating statistical distribution functions (mentioned above), I get error message (like @cunif is not defined). Please assist me so that I can compute the statistical distribution functions of my choice independently without much trouble!
Regards!
Vikas Dixit

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

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby EViews Gareth » Thu Jan 06, 2022 8:18 am

Hello.

I'm not sure I understand what you are asking. Could you rephrase?
Follow us on Twitter @IHSEViews

VIKASDIXIT
Posts: 12
Joined: Tue Oct 14, 2014 2:50 am
Location: India

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby VIKASDIXIT » Fri Jan 07, 2022 1:55 am

Hi! Though I hardly left any scope for ambiguity, let me again repeate my query. On the EViews Help Webpage as well as in the Command Reference Guide, there is a topic under Operators and Functions "Statistical Distribution Functions". It describes how one can calculate the cumulative distribution function (CDF), probability distribution function (PDF), quantals and random numbers. This can be done for various distributions such as beta, uniform, etc with commands like @cunif(x,a,b) for CDF, etc.
My simple query is: can this type of calculation be done without using commands from the main menu (such as we make various other computations/estimations from the main interactive menu)?
I hope my concern is understood this time; I do not want to use commands for calculating statistical distribution functions, rather I wish to do this from the main menu options. Is it possible anyway?
Thanks and regards!
Vikas Dixit

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

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby EViews Gareth » Fri Jan 07, 2022 10:41 am

Ah, that makes sense now, thank you.

Unfortunately functions are not available from the menu system - they are, by definition, part of the command language only.

However it would be relatively simple to create an add-in that presented some simple options. I've created on (attached) that does beta, uniform, normal and t-dist. If you want to expand it to other distributions, it should be relatively easy to see how it works.
Attachments
statgenr.aipz
(937 Bytes) Downloaded 164 times
Follow us on Twitter @IHSEViews

VIKASDIXIT
Posts: 12
Joined: Tue Oct 14, 2014 2:50 am
Location: India

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby VIKASDIXIT » Sat Jan 08, 2022 1:49 am

OK, thank you very much for this idea. However, I am not at all familiar and comfortable in create add-ins; this may annoy me further. Anyway, I will try to practice with one provided by you on Monday on my departmental PC where I have installed EViews. Then I will revert back if I face any problem.
Thanks and regards!
Vikas Dixit

VIKASDIXIT
Posts: 12
Joined: Tue Oct 14, 2014 2:50 am
Location: India

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby VIKASDIXIT » Mon Jan 10, 2022 3:49 am

Hi Gareth! I have installed the add-in provided by you and it is now there in the options. However, I wonder if there is any trick to choose the parameters. For example, if I have a series of say 57 observations and I wish to calculate, say the density function for each value of this series under uniform distribution, then your add-in asks for three parameters. My two queries are as under: Do I need to calculate the density for each observation of my series separately by placing the single observation as the first parameter, while minimum and maximum of the series as other two parameters every time? Is it not possible to put the name of the series in place of the first parameter and EViews automatically generates other two parameters (this also applies in case if I choose a different distribution)?
Please take trouble to clarify!
Regards!
Vikas Dixit

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

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby EViews Gareth » Mon Jan 10, 2022 3:20 pm

The EViews functions you mentioned all require you to specify the parameters of the function.
Follow us on Twitter @IHSEViews

startz
Non-normality and collinearity are NOT problems!
Posts: 3775
Joined: Wed Sep 17, 2008 2:25 pm

Re: Calculating Statistical Distribution Functions in EViews without using commands.

Postby startz » Tue Jan 11, 2022 7:04 am

Let me add something to what Gareth has said.

The parameters you have to supply describe the distribution. The series you have are (presumably) draws from that distribution. So even in the case of the uniform it doesn't follow that the min and max of the distribution are the min and max of the series.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 12 guests