Construct a moving average on a given variable

Assignment Help Business Economics
Reference no: EM131457150

Write a program on STATA that will construct a moving average on a given variable, given a ‘window' and store it as another variable. For example, if we have a dataset with 10 observations a variable x, and the window is of size 3, then your program will create a new variable, where y1 =x1+x2+x33, y2 =x2+x3+x43, etc. Of course, this will result in some missing values in the end.

Reference no: EM131457150

Questions Cloud

Play in the implementation of policy : Based upon this week's readings, analyze an article published within 60 days prior to the term that deals with pollution or environmental policy.
Explain this strategy to the taxpayer : A taxpayer owns 100,000 shares of Microsoft Corporation, currently valued at $10 million. The taxpayer purchased the stock for $10 per share.
Market failure and transactions cost : Find an article published within 60 days prior to the term that deals with a government action intended to alleviate a market failure.
What is meant by the term media convergence : How did each development influence American culture? What is meant by the term media convergence, and how has it affected everyday life?
Construct a moving average on a given variable : Write a program on STATA that will construct a moving average on a given variable, given a ‘window' and store it as another variable.
Which tax treatment is better for the investor company : Suppose a corporation (the investor company) owns 164 million shares in another corporation (the investee company).
Describe the type of local government : The island is large enough for several small communities to be developed, so you want to start off on the right foot by establishing a local government, a judicial system, and a law enforcement system.
Monopolistic competition-oligopoly and monopoly : There are four market models: perfect competition, monopolistic competition, oligopoly and monopoly. Briefly discuss the assumptions of each of these four model
What tax do you think the irs agent will assess the taxpayer : A taxpayer owns and operates an art gallery with a large inventory of paintings held for sale to customers. She took one of the paintings home

Reviews

Write a Review

Business Economics Questions & Answers

  What is green energy

What is "green energy?" Give five (5) examples. (150-160 words) What is "carbon footprint?" Give five (5) examples. (150-160 words)Please provide political points of view. (90-100 words) Please provide ideological points of view. (90-100 words)

  What is government budget deficit

Why should state and federal regulations exempt small businesses until they have more than $5 million in revenue or 50 employees. how have Obama Care and rising min wage affected the success of small businesses. What is government budget deficit? How..

  How much should the government should cut taxes

Assume that equilibrium GDP is $14 trillion & that potential real GDP is $16 trillion. Also assume that C = 900 + 0.8YD where C is consumption & YD is disposable income. How much should the government should cut taxes to move the economy to potential..

  Explain the importance of liquidity management

Banks manage their assets in a variety of ways. Explain the importance of “liquidity management”?  What is the concern of the bank in regard to the liquidity of its assets? Bank Management is becoming increasingly complicated. What are the Four Major..

  Discuss how imperfectly competitive firm resorts to price

Discuss how an imperfectly competitive firm resorts to price discrimination to maximize its profits. One of the criticisms of oligopolies is the adverse impacts these firms have on income distribution. Do you believe that is a valid critism? Discuss ..

  Current account deficit in a country

Explain why observing a current account deficit in a country is not necessarily worrisome. Discuss and compare your answer with another student answer.

  Find that the average number of years of education

As a matter of fact you have found several of these to be below minimum wages in your state. Discuss if dropping the observations is reasonable.

  Study estimates the cross-price elasticity

A study estimates the cross-price elasticity between subscription satellite radio service and subscription Internet radio to be -2.5. Based on this information, we infer that the two services are

  Term of type of budget and type of economy

Suppose that the economy of an island H is described by the following equations: GDP (Y) = 8000, government expenditures (G) = 600, Taxes (T) = 1000, Consumption (C) = 400 + 3/4 (Y-T), and investment (I) = 800 – 200r. What can you conclude about the ..

  Savings account pays a nominal interest rate

Jennifer Creek is saving up for a new car. She wants to finance no more than $10,000 of the $26,000 price in two years. She deposits $5,000 into a savings account now and will make monthly deposits for the next two years. If the savings account pays ..

  Economic factors that lead to the development of monopolies

Compare the efficiency of monopolistic and perfectly competitive markets. Discuss the economic factors that lead to the development of monopolies. Examples of monopolies include electric utilities, railroads, airlines, cable television, and sports le..

  Calculate cost elasticity of demand for paint

Calculate cost elasticity of demand for paint and show your calculations. Decide where demand for paint is elastic, unitary elastic, or inelastic.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd