1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Talja [164]
1 year ago
4

create an array called resampled slopes that contains the slope of the best fit line for 1000 bootstrap resamples of birds. plot

the distribution of these slopes. (8 points)
Business
1 answer:
Anna35 [415]1 year ago
3 0

Create an array called resampled slopes that contains the slope of the best fit line for 1000 bootstrap resamples of birds,

What is bootstrap?
A open and free CSS framework called Bootstrap is designed for front-end web development that prioritises mobile responsiveness. It includes design layouts for typography, formation, buttons, navigation, as well as other interface elements in HTML, CSS, and (optionally) JavaScript. With over 158,000 stars as of July 2022, Bootstrap is GitHub's eighth most starred project. An HTML, CSS, and JS library called Bootstrap aims to make the creation of educational web pages as simple as possible (as opposed to web apps). The main goal of adding this to a web project would be to apply the colour, size, font, and layout options of Bootstrap to that project.

import numpy as np

from scipy.stats import linregress

import matplotlib.pyplot as plt

# Create bootstrap resamples

np.random.seed(1)

n_resamples = 1000

resampled_slopes = np.empty(n_resamples)

for i in range(n_resamples):

   resample_inds = np.random.choice(range(len(birds)), len(birds))

   x = birds.iloc[resample_inds]['weight']

   y = birds.iloc[resample_inds]['wing_length']

   slope, _, _, _, _ = linregress(x, y)

   resampled_slopes[i] = slope

   

# Plot distribution of resampled slopes

plt.hist(resampled_slopes, bins=50, density=True)

plt.xlabel('slope')

plt.ylabel('proportion of resamples')

plt.show()

To learn more about bootstrap
brainly.com/question/28827398
#SPJ4

You might be interested in
First, think about the way in which interest on municipal bonds is treated from a federal income tax point view. In this light,
spin [16.1K]

Answer:

4% (exactly 4.4%)

Explanation:

A taxable bond is a debt security whose return to the investor is subject to taxes at the local, state or federal level, or some combination thereof. An investor trying to decide whether to invest in a taxable bond or tax-exempt bond should consider what s/he will have left in income after taxes are taken.

Step 1:

Find the reciprocal of your tax rate,

(1-22%) = 1-0.22 = 0.78

Step two:

Divide this into the yield on the tax-free bond to find out the tax-equivalent yield.

3.5/0.78 = 4.4 ~ 4%

7 0
3 years ago
Assume that there is a 25 percent reserve ratio and that the Federal Reserve buys $200 million worth of government securities. I
pickupchik [31]

Answer:

$150 million

Explanation:

The reserve requirement is the amount of money required by the Fed for banks to keep as reserves.

If the reserve ratio is 25%, when the Fed buys securities of 200 million, the reserve would be 0.25 x 200 =$50 million

The amount that would be available for lending would be ($200 - $50) million = $150 million

Money supply would increase by a maximum of $150 million

I hope my answer helps you.

3 0
4 years ago
Can we run our business without training or not? Give reason.​
SashulF [63]

Answer:

Ha we can run our business if we have knowledge

and we have the grip on it and first we have to put interest.

5 0
3 years ago
Read 2 more answers
For a capital intensive, automated company the break-even point will tend to be higher and the margin of safety will be lower th
DedPeter [7]

Answer:

Very Very True

Explanation:

Your Welcome!

3 0
4 years ago
Mr. Smith is hired as a consultant to a firm evaluating entry into a perfectly competitive industry. Mr. Smith determined that a
DENIUS [597]

Answer:

P = 70, Ed = ∞ , Firm = Price Taker , Free Entry & Exit

Homogeneous Product , No selling costs , Long Run Normal Profits

Explanation:

Perfect Competition is a market form with : many number of buyers & sellers, selling homogeneous goods at uniform prices, while firms & consumers having perfect information & no selling costs.

In this market : Price = Marginal Cost , as taken by all firms from the industry & so demand curve is horizontal parallel to x axis - denoting perfectly elastic demand i.e infinite sale at prevailing price.

As market's all sellers goods are homogeneous & all have perfect information about it, no selling costs are required. Free Entry & Exit in industry also imply that Industry's profits are confined to 'Normal Profits' (No Supernormal profit / abnormal loss) in long run.

So, Smith's report would include all the above mentioned remarks.

5 0
3 years ago
Other questions:
  • Assume that the Assembly Department allocates overhead based on machine hours, and the Finishing Department allocates overhead b
    11·1 answer
  • Please also provide step by step explanation/ working thank you Live Wire Hot Rod Shop follows the revenue recognition principle
    15·1 answer
  • If you cause a car accident, which type of insurance will require you to pay the least out of pocket?
    13·1 answer
  • WILL MARK BRAINLIEST!!!!!
    15·2 answers
  • If you find yourself in a situation that you think might be escalating, what should you avoid doing?
    8·2 answers
  • Which one of the following items is most likely to be reported as goodwill? A. In-process research and development B. Brand name
    6·1 answer
  • For the following​ accounts, indicate what causes the account to increase and decrease. The first account is completed as an exa
    6·1 answer
  • Dorothy Taylor has won a state lottery and will receive a payment of $93,000 every year, starting today, for the next 20 years.
    7·2 answers
  • The director of engineering at a local company was very impressed that Jerry, a production engineer, had not missed a single day
    14·1 answer
  • Lisa Smith has her age listed on her driver's license as being three years younger than it actually is. This is also how old she
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!