Tutor profile: Atul K.
Questions
Subject: R Programming
Given a sequence S = <1,2,...,100>, if an element is indivisible j is indivisible by 7 or 9 or both, then add j to a new sequence P. Creating a function to calculate the sum of square of sequence P.
#Generating a sequence S S = seq(1,100,by=1) A= S%%7 & S%%9 Harsh = S[!A] P1 = S[!!lA] P = P1 sum_of_square = function(P){ sum_of_square_of_P = sum(P^2) return (sum_of_square_of_P) }
Subject: Econometrics
Given the estimated linear model shown below, complete the following computations. y'= 16 + 3*x1 + 5*x2 + 4*x3 Compute y' when x1 = 14, x2 = 24, and x3 = 28
To find the value of y' for each given set of values, substitute the values of x1, x2, and x3 into the estimated linear model, y'= 16 + 3*x1 + 5*x2 + 4*x3 y'= 16 + 4*(14) + 5*(24) + 4*(28) y' = 16 + 42 + 120 + 112 = 290
Subject: Microeconomics
What is the “budget line”? What is its equation? What determines the slope of the budget line?
A budget line represents the maximum amount of two good a consumer can purchase at any point given his income a budget line equation is p1x1 + p2x2 = M Where, p1 is price of good 1, p2 is price of good 2, x1 is amount good 1, x2 is price of good 2, and M is income The slope of the budget line is the amount of good 1 can be trade for amount of good 2 given the market price level, therefore it will be –p1/p2
Contact tutor
needs and Atul will reply soon.