Question

Simple Bayesian Statistics problem: It is agreed that Hamilton wrote 51 Federalist papers and Madison wrote...

Simple Bayesian Statistics problem:

It is agreed that Hamilton wrote 51 Federalist papers and Madison wrote 14 Federalist papers. However, there’s a dispute over how to attribute 12 other papers between these two authors. In Hamilton’s 51 papers, the word “upon” was used 3.24 times per 1000 words. In Madison’s 14 papers, the word “upon” was used 0.23 times per 1000 words.

a.) Based on the sample proportion of papers with known authorship, 51/(14+51) is a reasonable prior probability for a disputed paper to be attributed to Hamilton. Give a situation where this prior should be used over the prior that gives equal probability to both authors, and give another situation where the equal probability prior is referred.

b.) If the word “upon” is used 3 times in a disputed text of length 1,000 words and we assume the equal probability prior, what is the posterior probability the paper was written by Hamilton?

c.) Give one assumption you are making in part b that is likely unreasonable.

d.) In part b, if we change the number of “upon”s from 3 to 1, does the posterior probability increase, decrease, or stay the same?

e.) In part b, if we change the number of “upon”s to 30 and the text length to 10,000 words, does the posterior probability increase, decrease, or stay the same?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

a) If we are supposed to predict the author of the papers based solely on the number of earlier papers already published and clearly identified, it might be appropriate to use the prior probability of =51/(14 + 51) as the prior probabilities of Hamilton. As an example, if the other 12 papers are also Federalist, we can use the above priors.

However, if we believe the number of earlier publications are not necessarily the indication of likelihood of writing another paper, with lack of other information we may believe both are equally likely to write a paper, we can choose an equal probability. This can happen if we are considering a paper in fairly new areas, (which the earlier papers are not covered), such as Non-Federalist areas, we should use equal probability due to lack of information.

b)

We are given,

P(uponHamilton)-3.24/1000

P(uponMadison) 0.23/1000

P(upon= 3) =3/1000

P(Hamilton51/(1451)

P(Madison) 14/(14+51)

Now we have to find PHamlton upon

We know that mathbb{P}(A | B ) = mathbb{P}(B | A ) mathbb{P}(A) / mathbb{P}( B ) where A and B are events and P( B )メ0

Now to solve this problem we will take help of liner interpolation,

P(3) P3.24) P(0.23)- P(3.24) 3-3.24 P(3)P(3.24)-324 p(3) = 1000 + 0.23-3.24 (1000 10 P(3) 0.003240.079734-0.00301) 0.23-3.24 -3.24 (P(0.23)-P(3.24)) 023-3.24 324 3-824) 03 3.24 0.079964

c) Here the assumption is the probability of the paper being written by Hamilton varies linearly with the observed frequency of the word "upon" in the neighborhood. This is unlikely to be true for values very far from the 3.24. We need to use a different distributional assumptions such as normal to interpolate the above probabilities. However, for that we would need the frequencies of "upon" for every document to calculate the standard deviation of the estimated normal distribution. The mean of the estimated normal distribution would be the observed total mean i.e. 3.24/1000 for Hamilton.

Add a comment
Know the answer?
Add Answer to:
Simple Bayesian Statistics problem: It is agreed that Hamilton wrote 51 Federalist papers and Madison wrote...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • It is agreed that Hamilton wrote 51 Federalist papers and Madison wrote 14 Federalist papers. However,...

    It is agreed that Hamilton wrote 51 Federalist papers and Madison wrote 14 Federalist papers. However, there’s a dispute over how to attribute 12 other papers between these two authors. In Hamilton’s 51 papers, the word “upon” was used 3.24 times per 1000 words. In Madison’s 14 papers, the word “upon” was used 0.23 times per 1000 words. a.) Based on the sample proportion of papers with known authorship, 51/(14+51) is a reasonable prior probability for a disputed paper to...

  • 6. Later we will give data on an experiment conducted by Mosteller and Wallace (1963) on...

    6. Later we will give data on an experiment conducted by Mosteller and Wallace (1963) on the use of language by Alexander Hamilton. Their study attempted to unravel a longstanding question of who wrote the 12 disputed Federalist Papers. We will show that if X- the number of times Hamilton used the word "an" in a given text, then a good distribution function for that random variable is 0, ifx<0 F(x)-〈 y, (1.24)%-1.24 Using this result, compute the following probabilities....

  • Please read the article and answer about questions. You and the Law Business and law are...

    Please read the article and answer about questions. You and the Law Business and law are inseparable. For B-Money, the two predictably merged when he was negotiat- ing a deal for his tracks. At other times, the merger is unpredictable, like when your business faces an unexpected auto accident, product recall, or government regulation change. In either type of situation, when business owners know the law, they can better protect themselves and sometimes even avoid the problems completely. This chapter...

  • David’s Story “Life is difficult.” I once read these three trivial words in a book, but...

    David’s Story “Life is difficult.” I once read these three trivial words in a book, but never knew how true to life and impactful they would be until one fateful fall evening. Before I begin, let me back up and tell you more about who I am and how I got here. I am a Caucasian male raised in a small conservative town in Maine by hard-working middle-class parents. My compassionate mother juggled raising three rambunctious children, me being the...

  • A. Issues [1] In addition to damages for one year's notice period, can a trial judge...

    A. Issues [1] In addition to damages for one year's notice period, can a trial judge award significant damages for the mere fact of an employee's dismissal, or for the stigma that that dismissal brings? Or for the employer thereafter competing with the ex-employee for the clients, before the ex-employee has got a new job? B. Basic Facts [2] This is an appeal from 2009 ABQB 591 (CanLII), 473 A.R. 254. [3] Usually a judgment recites facts before law. But...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT