Question

In: Math

You download two sets of posts from an online forum. Set One is a collection of...

You download two sets of posts from an online forum. Set One is a collection of posts by "pro-Hong Kong Protestors" (HKP) students. Set Two is a collection of posts by pro-Chinese Government (CG) students. (Let's say you get these two collections by searching for students who are members either of a pro-HKP group, or pro-CG group.) You compute the probabilities of different words they use, and focus on a set of six "key" words of interest, {"legal", "democracy", "violence", "legitimate", "calm", "foreign"}. You compute the "probability that, given that they use one of these five words, which word it is" (you could do this by counting up each of those words for the two sets, and dividing by the total number of those words in each set.) words: {"legal", "democracy", "violence", "legitimate", "calm", "foreign"}. pHKP = {0.2, 0.2, 0.3, 0.2, 0.05, 0.05} pCG = {0.1, 0.05, 0.3, 0.05, 0.1, 0.4}

The government tells you that they think about 10% of the posters on the mainland are pro-HKP, and they just want to have a conversation with these people about things.

You encounter a post. The poster uses the word "democracy" twice, the word "violence" once, and the word "foreign" once. Assuming that he is either pro-HKP, and follows the pHKP distribution, or pro-CG, and follows the pCG distribution...

Q: Given government priors, what is the probability that the poster is pro-HKP? (i.e., follows the pHKP distribution rather than the pCG distribution)

Solutions

Expert Solution


Related Solutions

Write two (2) posts to the forum that follow the following guidelines: Initial Post: What assumptions...
Write two (2) posts to the forum that follow the following guidelines: Initial Post: What assumptions do you have about unemployment? Have those assumptions been challenged by the readings or the videos? Why? Do you think that there can be positive outcomes for the unemployed after layoffs, downsizing, and outsourcing? Find evidence that supports your position. You may look at a specific region (like Detroit, for example), or a specific industry, but you should find some examples to back your...
Two sets are separated if the intersection of the closure of one of the sets with...
Two sets are separated if the intersection of the closure of one of the sets with the other is empty. a) Prove that two closed and disjoint sets of some metric space are separate. b) Prove that two open and disjoint sets of some metric space are separate.
An experimenter performs two sets of enzyme kinetics experiments. One set of experiments, when plotted as...
An experimenter performs two sets of enzyme kinetics experiments. One set of experiments, when plotted as a double-reciprocal plot, yielded a y-intercept of 0.043 μM-1·min and an x-intercept of -20.0 mM-1. A second set of experiments, when similarly plotted, yielded a y-intercept of 0.129 μM-1·min and an x-intercept of -60.0 mM-1. The second set of experiments contained 92 nM of an uncompetitive inhibitor. Given these data, what is the Ki' (in nM to the nearest tenths) for this inhibitor? Hint:...
North Carolina State University posts the grade distribution for its courses online. Students in one section...
North Carolina State University posts the grade distribution for its courses online. Students in one section of English 210 in the Fall 2008 semester received 33% A's, 24% B's, 18% C's, 16% D's, and 9% F's. A.) Using A=4, B=3, C=2, D=1, and F=0, take X to be the grade of a randomly chose English 210 student. Use the definition of mean, and standard deviation for discrete random variables to find the mean and standard deviation of grades in this...
suppose you have two sets of data to work with.The first set is a list of...
suppose you have two sets of data to work with.The first set is a list of all the injuries that were seen in a clinic in a month's time.The second set contains data on the number of minutes that each patient spent in the waiting room of a doctor's office. Propose your idea of how to represent the key information.To organize your data would you choose to use a frequency table,a culmative frequency table, or avrelative frequency table?Why?
The intersection (∩) of two sets (s1, s2) is the set of all elements that are...
The intersection (∩) of two sets (s1, s2) is the set of all elements that are in s1 and are also in s2. Write a function (intersect) that takes two lists as input (you can assume they have no duplicate elements), and returns the intersection of those two sets (as a list) without using the in operator or any built-in functions, except for range() and len(). Write some code to test your function, as well. Note: Do not use the...
Access the following information. You may read the PDF online or download it. American Nurses Association....
Access the following information. You may read the PDF online or download it. American Nurses Association. (2014). Fast facts: The nursing workforce 2014: Growth, salaries, education, demographics & trends. ANA. https://www.nursingworld.org/globalassets/practiceandpolicy/workforce/fastfacts_nsgjobgrowth-salaries_updated8-25-15.pdf Review the secondary data presented in the ANA Fast Facts and describe what the results say about this sample of the nursing workforce. Describe the purpose and the intent of the ANA sharing these results? The next process for our study is to collect data. The research design will...
You have looked at comb and brush set for your notions department. Two vendors have sets...
You have looked at comb and brush set for your notions department. Two vendors have sets that are suitable. You decide to purchase 6 dozen from one of the two vendors. Which one will it be based on most favorable net cost? (1point)                                        Vendor A                       Vendor B Cost                               $12.75/dozen                  $10.75/dozen Seasonal discount           10%                              none Cash discount                 3/10 net 30                    2/10 net 30 Shipping terms                 75 cents/dozen                 75 cents/dozen                                 F.O.B. destination           F.O.B. origin _________________________
Download any research article, either conference proceeding or journal from the online database (Eg: IEEE explore/...
Download any research article, either conference proceeding or journal from the online database (Eg: IEEE explore/ Science Direct/etc), that is corresponding to the applications of Frequency Domain Analysis/Bode Plot in control engineering. Read and then, recapitulate the content of the research article. Relate information obtains from those papers with the importance of control system engineering in current technology for sustainable development and community.
Pick at least two actions (may be discussed in two separate posts) from the following list...
Pick at least two actions (may be discussed in two separate posts) from the following list of parental actions and decide under what circumstances each of them can be discipline or abuse. This should be based on your own beliefs, but carefully explain your choices. In your explanation, you should consider the severity and nature of the punishment, the age of child, the seriousness and nature of the child’s behavior, the possible consequences of the parental action, and the frequency...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT