Econometrics the first question

This involves the use of Stata
The answer must be one page per question, with font size 12 and double spaced.
a template answer sheet is provided for you to follow. Please note that most questions require short and concise answers.
Other questions can be answered with a self-contained table (we will cover this on week 6 in the lab, please refer to the guidelines on tables in the STATA guide). Please number your tables with the question number (i.e. “Table 1.2.” reports the results for question 1.2. in the text as well as in the do-file.)
You also need to provide an Appendix that contains a STATA log file (resulting of running a do file) that shows how you have solved each question.
Please show your calculations in the main text of the project (even if they are done in the do file).
You must use the template answer sheet and the template appendix given at the end of the document, and please follow all the instructions. Please fulfil all the questions and all the questions.
Word requirements: 5 pages of word document, with font size 12 and double spaced, one subquestion eg 1.1 for one page. At the end of this document, a template answer sheet is provided for you to follow. Please note that most questions require short and concise answers. Other questions can be answered with a self-contained table (we will cover this on week 6 in the lab, please refer to the guidelines on tables in the STATA guide). Please number your tables with the question number (i.e. “Table 1.2.” reports the results for question 1.2. in the text as well as in the do-file.)
You also need to provide an Appendix that contains a STATA log file (resulting of running a do file) that shows how you have solved each question.
Please follow every single instructions given in the above, Please also create one document for the answer and the second document for screenshots eg how to manipulate the code or anything etc, please explain them well on the logic behind them, so I am able to work on it step by step, thank you, please make sure to use the template answer and the appendix at the end of the document, also the to-do files etc as asked in the question. The first question part a) also have an excel sheet and please do provide the excel sheet.

Lab session WK 6

Hi there, please complete all the parts in this lab project and please provide step by step explanations by taking down the screenshots which shows explanations into what is happening.
Please take the screenshots into how to work out these step by step into such as which actions shall I take, the code I do need to type and the options I do need to take. This applies to all the questions in here, please prepare two word documents, with one word document detailing the answers and the other word document with the screenshots of the instructions into how to work with this question.

You have to write it down soluion of this two questions.

Q1. Determine the minimum sample size required when you want to be 95%
confident that the sample mean is within two units of the population
mean. Assume a population standard deviation of 4.3 in a normally
distributed population.
Homework Help:
5VB. Calculating minimum sample size (Links to an external site.) (1:52)
5DG. Why set a minimum sample size (DOCX)
20 22
16 Correct! 18
correct answer is 18
Q.2 Under a time crunch, you only have time to take a sample of 15 water
bottles and measure their contents. The sample had a mean of 20.05
ounces with a sample standard deviation of 0.4 ounces. What would be the
90% confidence interval, when we assumed these measurements are
normally distributed?
Homework Help:
5VE. Confidence intervals with sample standard deviationLinks to an external site. (1:37)
(19.88, 20.22) (19.91, 20.19)
Correct! (19.87, 20.23)
(19.65, 20.45) correct answer is (19.87, 20.23)

ajhuyhayahayhayahyahayhayahyahy

In your first post, solve and discuss the solution of any
question from week 5 homework and include all the solution steps. You
need to include both the question and the solution.
In your second post, solve and discuss the solution of another question from week 5 homework and include all the solution steps. You need to include both the question and the solution.

statistics question on Sample Size and Power

Attached document has question. Will need to download G power for this. G*Power: Statistical Power Analyses for Windows and Mac.
Using G*Power to Determine Sample Size (5:16/YouTube)Links to an external site.
Effect Size for Independent Samples t-Test (2:24/YouTube)Links to an external site.
What is statistical power (8:21/YouTube)Links to an external site.

Data analytics, case study

Many states supplement their tax revenues with state-sponsored lotteries. Most of them do so with a game called lotto. Although there are various versions of this game, they are all basically as follows. People purchase tickets that contain r distinct numbers from 1 to m, where r is generally 5 or 6 and m is generally around 50. For example, in Virginia, the state discussed in this case, r = 6 and m = 44. Each ticket costs $1, about 39 cents of which is allocated to the total jackpot.7 There is eventually a drawing of r = 6 distinct numbers from the m = 44 possible numbers. Any ticket that matches these 6 numbers wins the jackpot.

There are two interesting aspects of this game. First, the current jackpot includes not only the revenue from this round of ticket purchases but also any jackpots carried over from previous drawings because of no winning tickets. Therefore, the jackpot can build from one drawing to the next, and in celebrated cases it has become huge. Second, if there is more than one winning ticket—a distinct possibility—the winners share the jackpot equally. (This is called parimutuel betting.) So, for example, if the current jackpot is $9 million and there are three winning tickets, then each winner receives $3 million.

It can be shown that for Virginia’s choice of r and m, there are approximately 7 million possible tickets (7,059,052 to be exact). Therefore, any ticket has about one chance out of 7 million of being a winner. That is, the probability of winning with a single ticket is p = 1/7,059,052—not very good odds. If n people purchase tickets, then the number of winners is binomially distributed with parameters n and p. Because n is typically very large and p is small, the number of winners has approximately a Poisson distribution with rate λ = np. (This makes ensuing calculations somewhat easier.) For example, if 1 million tickets are purchased, then the number of winning tickets is approximately Poisson distributed with λ = 1/7.

In 1992, an Australian syndicate purchased a huge number of tickets in the Virginia lottery in an attempt to assure itself of purchasing a winner. It worked! Although the syndicate wasn’t able to purchase all 7 million possible tickets (it was about 1.5 million shy of this), it did purchase a winning ticket, and there were no other winners. Therefore, the syndicate won a 20-year income stream worth approximately $27 million, with a net present value of approximately $14 million. This made the syndicate a big profit over the cost of the tickets it purchased. Two questions come to mind: (1) Is this hogging of tickets unfair to the rest of the public? (2) Is it a wise strategy on the part of the syndicate (or did it just get lucky)?

To answer the first question, consider how the lottery changes for the general public with the addition of the syndicate. To be specific, suppose the syndicate can invest $7 million and obtain all of the possible tickets, making itself a sure winner. Also, suppose n people from the general public purchase tickets, each of which has 1 chance out of 7 million of being a winner. Finally, let R be the jackpot carried over from any previous lotteries. Then the total jackpot on this round will be [R 0.39 (7,000,000 n)] because 39 cents from every ticket goes toward the jackpot. The number of winning tickets for the public will be Poisson distributed with λ = n/7,000,000. However, any member of the public who wins will necessarily have to share the jackpot with the syndicate, which is a sure winner. Use this information to calculate the expected amount the public will win. Then do the same calculation when the syndicate does not play. (In this case the jackpot will be smaller, but the public won’t have to share any winnings with the syndicate.) For values of n and R that you can select, is the public better off with or without the syndicate? Would you, as a general member of the public, support a move to outlaw syndicates from hogging the tickets?

The second question is whether the syndicate is wise to buy so many tickets. Again assume that the syndicate can spend $7 million and purchase each possible ticket. (Would this be possible in reality?) Also, assume that n members of the general public purchase tickets, and that the carryover from the previous jackpot is R. The syndicate is thus assured of having a winning ticket, but is it assured of covering its costs? Calculate the expected net benefit (in terms of net present value) to the syndicate, using any reasonable values of n and R, to see whether the syndicate can expect to come out ahead.

Actually, the analysis suggested in the previous paragraph is not complete. There are at least two complications to consider. The first is the effect of taxes. Fortunately for the Australian syndicate, it did not have to pay federal or state taxes on its winnings, but a U.S. syndicate wouldn’t be so lucky. Second, the jackpot from a $20 million jackpot, say, is actually paid in 20 annual $1 million payments. The Lottery Commission pays the winner $1 million immediately and then purchases 19 “strips” (bonds with the interest not included) maturing at 1-year intervals with face value of $1 million each. Unfortunately, the lottery prize does not offer the liquidity of the Treasury issues that back up the payments. This lack of liquidity could make the lottery less attractive to the syndicate.

What is the equilibrium price and quantity in this bond market?

Consider the demand and supply equation for one-year discount bonds with a face value of $990:
Demand: Price = -0.5 * Quantity 1200
Supply:  Price = Quantity 300
      What is the equilibrium price and quantity in this bond market?  What is the implied interest rate on the one-year discount bond?
      Suppose a foreign government buys 100 bonds from this bond market.  Derive the new bond demand equation after the foreign government’s bond purchase.  Assume the bond supply equation does not change.  What is the new equilibrium price, equilibrium quantity, and implied interest rate in this bond market? (for price and quantity, keep one decimal place; for interest rate, keep three decimal places if your write your result in general number format or keep one decimal place if your write your result in percentage format)
In 2021, the US stock market’s average dividend-price ratio was 1.4%, the investors expected that the average dividends would grow by 4% a year in the future, and the 10-year treasury bond yield (risk-free interest rate) was 1.5%. What was the implied risk premium on the US stocks in 2021?
    Suppose at the end of 2022, investors find that the US stock market’s average dividend-price ratio rises to 2% and the 10-year treasury bond yield rises to 3%; analysts find that the risk premium on the US stocks rises to 5% and expect the future inflation rate will be 4.5%.  Given the information and assume that the investors expect the US stock dividends will grow at the same rate as nominal GDP in the future, what real GDP growth rate should the investors expect the US economy to have?
Suppose the US economy experiences a recession in 2023. However, the Federal Reserve decides to hold the money supply constant. Draw a graph for the bond market to illustrate the effect of economic recession on the bond market.  In your graph, label both axes and all curves, and indicate clearly how the equilibrium price and quantity should change.  Explain the reasoning behind the movement of bond demand and supply and the change in equilibrium price and quantity in your graph.  Make sure you use all information provided above. (You can either draw the graph using word drawing tools or draw it by hand and then take a picture) 

EoF group project

This involves the use of Stata
The answer must be one page per question, with font size 12 and double spaced.
a template answer sheet is provided for you to follow. Please note that most questions require short and concise answers.
Other questions can be answered with a self-contained table (we will cover this on week 6 in the lab, please refer to the guidelines on tables in the STATA guide). Please number your tables with the question number (i.e. “Table 1.2.” reports the results for question 1.2. in the text as well as in the do-file.)
You also need to provide an Appendix that contains a STATA log file (resulting of running a do file) that shows how you have solved each question.
Please show your calculations in the main text of the project (even if they are done in the do file).
You must use the template answer sheet and the template appendix given at the end of the document, and please follow all the instructions. Please fulfil all the questions and all the questions.
Word requirements: 5 pages of word document, with font size 12 and double spaced, one subquestion eg 1.1 for one page. At the end of this document, a template answer sheet is provided for you to follow. Please note that most questions require short and concise answers. Other questions can be answered with a self-contained table (we will cover this on week 6 in the lab, please refer to the guidelines on tables in the STATA guide). Please number your tables with the question number (i.e. “Table 1.2.” reports the results for question 1.2. in the text as well as in the do-file.)
You also need to provide an Appendix that contains a STATA log file (resulting of running a do file) that shows how you have solved each question.
Please follow every single instructions given in the above, Please also create one document for the answer and the second document for screenshots eg how to manipulate the code or anything etc, please explain them well on the logic behind them, so I am able to work on it step by step, thank you, please make sure to use the template answer and the appendix at the end of the document, also the to-do files etc as asked in the question.

SW5 Econometrics

Please explain the answer rather than providing an answer, please provide step by step explanations of all the theories, and also with the correct answers typed in the word document the symbols in details and I understand everything clearly, thanks. The answers must be typed In a word document with using the formula options as well, thank you.