Trouble with statistical functions and excel

%3CLINGO-SUB%20id%3D%22lingo-sub-3027592%22%20slang%3D%22en-US%22%3ETrouble%20with%20statistical%20functions%20and%20excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3027592%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20having%20serious%20trouble%20with%20a%20problem%20and%20am%20hoping%20for%20some%20help.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20it's%20alot%2C%20I'd%20be%20greatful%20for%20even%20only%20parts%20of%20an%20solution.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20got%20an%20excel%20file%20with%20the%20hours%20through%20April%20and%20the%20number%20of%20starts%20and%20landings%20for%20each%20(attached%20below).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20suppost%20to%20create%20a%20distribution%20function%2C%20which%20gives%20an%20appropriate%20probability%20of%20one%20of%20the%20values%20of%20the%20record.%26nbsp%3B%3C%2FP%3E%3CP%3EThen%20I%20should%20develop%20the%20distribution%20from%20obove%20by%20adding%20a%20normally%20distributed%20error%20term%20with%20a%20standard%20deviation%20of%2012%20aircrafts%20to%20be%20able%20to%20draw%20as%20well%20meaningful%20(!)%20values%20apart%20from%20the%20record.%20Show%20the%20airport%20cases%20of%20three%20simulated%20months%20(October%2C%20November%2C%20December)%20in%20hours%20in%20a%20histogram.%3C%2FP%3E%3CP%3ENext%3A%26nbsp%3BThe%20airport%20knows%20that%20between%204%25%20and%209%25%20of%20all%20aircrafts%20can%E2%80%99t%20start%20because%20of%20an%20engine%20failure%2C%20so%20they%20have%20to%20stay%20in%20a%20predetermined%20area.%20Assume%20the%20share%20of%20Lufthansa%20of%20all%20aircrafts%20is%20beta-distributed%20with%20%F0%9D%9B%BC%3D2%20and%20%F0%9D%9B%BD%3D5.%20Simulate%20the%20number%20of%20Lufthansa%20aircrafts%2C%20which%20can%E2%80%99t%20start%20for%20500%20hours%2C%20and%20visualize%20your%20results%20in%20a%20boxplot%20diagram.%3C%2FP%3E%3CP%3EAnd%20last%3A%26nbsp%3BEach%20airline%20has%20an%20own%20predetermined%20area%20for%20their%20aircrafts%20that%20can%E2%80%99t%20start%20because%20of%20an%20engine%20failure.%20The%20area%20for%20the%20Lufthansa%20is%20limited%20to%20three%20aircrafts.%20Report%20the%20share%20of%20hours%2C%20when%20this%20limit%20is%20no%20sufficient%20for%20all%20aircrafts%2C%20which%20can%E2%80%99t%20start.%20How%20many%20aircrafts%20should%20have%20space%20in%20this%20area%2C%20if%20you%20want%20to%20cover%20the%20demand%20at%2095%25%20of%20all%20hours%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20know%20that%20I%20won't%20learn%20much%20by%20doing%20it%20this%20way%2C%20but%20I'm%20very%20desperate%20and%20need%20to%20finish%20this%20soon.%20I%20might%20have%20to%20present%20this%20so%20I%20will%20attempt%20to%20understand%20whatever%20solution%20you%20offer.%3C%2FP%3E%3CP%3EAgain%20there%20is%20no%20need%20for%20anyone%20to%20help%20me%20with%20every%20single%20thing%20I've%20asked%20for%20here%2C%20every%20little%20help%20and%20answer%20will%20be%20greatly%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3027592%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-3028036%22%20slang%3D%22en-US%22%3ERe%3A%20Trouble%20with%20statistical%20functions%20and%20excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3028036%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1208076%22%20target%3D%22_blank%22%3E%40Mmrtlm%3C%2FA%3E%26nbsp%3B%20....%26nbsp%3B%20I%20can't%20say%20that%20I%20fully%20understand%20all%20parts%20of%20the%20assignment%2C%20off-hand.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20for%20the%20simulations%2C%20consider%20using%20NORMINV(RAND()%2C...)%20and%20BETAINV(RAND()%2C...)%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20that%20is%20%22obvious%22%20to%20you%2C%20please%20explain%20what%20aspect%20of%20the%20assignment%20is%20giving%20you%20trouble.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hey there,

 

I'm having serious trouble with a problem and am hoping for some help. 

I know it's alot, I'd be greatful for even only parts of an solution. 

 

I've got an excel file with the hours through April and the number of starts and landings for each (attached below).

 

I'm suppost to create a distribution function, which gives an appropriate probability of one of the values of the record. 

Then I should develop the distribution from obove by adding a normally distributed error term with a standard deviation of 12 aircrafts to be able to draw as well meaningful (!) values apart from the record. Show the airport cases of three simulated months (October, November, December) in hours in a histogram.

Next: The airport knows that between 4% and 9% of all aircrafts can’t start because of an engine failure, so they have to stay in a predetermined area. Assume the share of Lufthansa of all aircrafts is beta-distributed with 𝛼=2 and 𝛽=5. Simulate the number of Lufthansa aircrafts, which can’t start for 500 hours, and visualize your results in a boxplot diagram.

And last: Each airline has an own predetermined area for their aircrafts that can’t start because of an engine failure. The area for the Lufthansa is limited to three aircrafts. Report the share of hours, when this limit is no sufficient for all aircrafts, which can’t start. How many aircrafts should have space in this area, if you want to cover the demand at 95% of all hours?

 

I know that I won't learn much by doing it this way, but I'm very desperate and need to finish this soon. I might have to present this so I will attempt to understand whatever solution you offer.

Again there is no need for anyone to help me with every single thing I've asked for here, every little help and answer will be greatly appreciated.

8 Replies

@Mmrtlm  ....  I can't say that I fully understand all parts of the assignment, off-hand.

 

But for the simulations, consider using NORMINV(RAND(),...) and BETAINV(RAND(),...) .

 

If that is "obvious" to you, please explain what aspect of the assignment is giving you trouble.

@Joe User This is actually everything I have concerning the assignment.

 

I'm having trouble with which function to use and when to simulate more than once and only once, when to use INV and when VERT.

 

E.g. for the first part: Create a distribution function, which gives you an appropriate probability of one of the values of the record

Do I AVERAGE and STDEV.P the values, and give a RAND() for the x?

So: =NORM.INV(RAND(),AVERAGE("values"),STDEV.P("values"))

I have a feeling that doesn't do what is asked for.

@Mmrtlm  ....  In general, we can help with how to use Excel to solve problems that are well-defined. But usually, we rely on you to "well-define" the problem.

 

Sometimes, we can offer insight that might clarify the problem. But the most reliable source of such clarification is the assignment, the instructor and other students who are familiar with the coursework to-date.

 

I'm afraid that I will not be of much help to you.  And worse, I'm afraid that I might misdirect you.

 

I find inconsistencies that confuse me.  For example....

 

-----

You wrote: ``for the first part: Create a distribution function, which gives you an appropriate probability of one of the values of the record [....] So: =NORM.INV(RAND(),AVERAGE("values"),STDEV.P("values"))``

 

Well, NORM.DIST("oneValue", AVERAGE("values"), STDEV.P("values"), 0) perhaps -- although I would use the difference of two cumulative NORM.DIST calls.  (Note: "VERT" = "DIST" in English.)

 

That requires more explanation.  But the point is:  your data is uniformally distributed, not normally distributed(!).

 

And that's just the tip of the iceberg.

 

I want to help, but I'm afraid that I cannot.  Good luck!

 

@Joe User Misdirecting me shouldn't worry you, it's my risk by asking here, but anyways I wouldn't adapt any solution without thinking it through and understanding myself.

 

You say that my data is uniformly distributed. How can one tell? And is there a function for uniformly distribution?

 

 If you're unsure or don't want to answer any statistical questions, I completely understand and next time I'll make sure to clearify all non excel concerning parts first. 

@Mmrtlm  ....  Yes, I'm unsure of my answers to your questions.  So I think it is best that I step back.

 

You wrote:  ``You say that my data is uniformly distributed. How can one tell?``

 

Graphically.

 

airport data distrib.jpg

 

The blue histogram is the actual distribution of the data.  The orange curve is the expected normal distribution of the data.  See the attached Excel file.

 

@Mmrtlm  ....  Please provide the __original__ and complete text of the assignment -- not your interpretation (and translation?).  Ideally, provide a PDF.  Alternatively, provide an image.

 

Also, please provide any __original__ data file that accompanies the assignment, if that is different from the Excel attachment.

 

Note:  This is for my own edification.  I would appreciate the original information, even if you have progressed beyond your needs expressed here.

 

I am still trying to understand the assignment.  I struggle with some details in the description and in the data.

 

Thanks.

@Joe User You pretty much already have everything I've got concerning information. 

 

I can't provide you with the pdf, but the following is copied directly from the assignment without any edits from my side and the excel file from my original post is also unedited:

 

An airport wants to have an analysis of its processes. They gave you the number of starts and landings for every hour of April 2021.
a) Create a distribution function, which gives you an appropriate probability of one of the values of the record.
b) Develop your distribution from a) by adding a normally distributed error term with a standard deviation of 12 aircrafts to be able to draw as well meaningful (!) values apart from the record. Show the airport cases of three simulated months (October, November, December) in hours in a histogram.
c) The airport knows that between 4% and 9% of all aircrafts can’t start because of an engine failure, so they have to stay in a predetermined area. Assume the share of Lufthansa of all aircrafts is beta-distributed with 𝛼=2 and 𝛽=5. Simulate the number of Lufthansa aircrafts, which can’t start for 500 hours, and visualize your results in a boxplot diagram.
d) Each airline has an own predetermined area for their aircrafts that can’t start because of an engine failure. The area for the Lufthansa is limited to three aircrafts. Report the share of hours, when this limit is no sufficient for all aircrafts, which can’t start. How many aircrafts should have space in this area, if you want to cover the demand at 95% of all hours?

 

We (mainly someone from my group) solved the entire assignment and I understand it now, so *cough *cough if you need any information on how we solved it feel free to ask. 

 

Also if your wondering, my professors aren't native english speakers, thus some mistakes/vague tasks.

@Mmrtlm  wrote: ``my professors aren't native english speakers, thus some mistakes/vague tasks.``

 

That is what I thought.  Thanks for the confirmation.

 

You wrote: ``We (mainly someone from my group) solved the entire assignment and I understand it now, so *cough *cough if you need any information on how we solved it feel free to ask. ``

 

I would appreciate it if you posted an Excel file with your solutions.  It might help me understand how to interpret the assignment.

 

(If you prefer, you can send the Excel file to me directly:  joeu20045 "at" gmail.com.)

 

Thanks.