## Spend about 1-2 hours using the Matlab interactive Matlab tutorial on the Mathworks website and write a brief 2-sentence review of their quality and questions you might have after running them.

### statistics

##### Description

Basic problems (4 problems 10 points)

1. Spend about 1-2 hours using the Matlab interactive Matlab tutorial on the Mathworks website and write a brief 2-sentence review of their quality and questions you might have after running them.

http://www.mathworks.com/academia/student_center/tutorials/mltutorial_launchpad.html

2. Run Gallagher’s LMcs010201_6th.m. Describe the Gutenberg-Richter (1949) relation. Comment on the differences between the Matlab graphs and Larsen & Marx’s Figure 1.2.1. Which graph most clearly displays the Gutenberg-Richter relation? Justify your choice.

3. Run Gallagher’s LMcs010202_6th.m, on Transylvania effect. With Matlab publisher, publish the boxplot and two interaction plots as a word document and discuss which figure provides the most effective display of the Transylvania effect.

4. Using LMcs010203_6th.m as a paradigm, write a Matlab function to generate chronologically ordered tank serial numbers (e.g., ending with maximum serial number 200, 400, 1000) and using randi select and test at least 10 random subsets of tank serial numbers and compare the prediction with the actual number.

Advanced problems (2.5 points each)

1. Solve the problem of points (Larsen & Marx (2018 p 9-10)) with a Matlab program.

2. Modify Gallagher’s Matlab function astragalus.m to solve using both a Monte Carlo simulation and an analytical solution, the probabilities of ‘Good Cronos’ and ‘Poseidon’ throws using symmetric astragali (Larsen & Marx (2018 p 6-7)): Good_Cronos='33336'; Poseidon='44446.'

Master Problems (5 points each) 1)

Modify LMcs010201_6th, the earthquake model, for another region (e.g., Boston, Haiti, Iraq, London, Puerto Rico) using https://earthquake.usgs.gov/earthquakes/search/. Does the Gutenberg-Richter (1949) relationship work? Just plot the data. There are full data since 1973 (46+ years). I created a 2 degree or 5 degree latitude and longitude box or a zone with a radius of 500 km to 10000 km to ensure getting a sufficient number of earthquakes to analyze. For areas outside the continental US, only earthquakes of magnitude 4.5 or greater are usually archived.

2) Francis Nightengale David (1962 p 6) noted that the astragali were not like symmetric dice, since they were sheep’ or dog’s knuckles. While they had 6 sides, they were asymmetric with two convex ends prohibiting landing, and a nonsquare cross section. The probability of different throws were [.1 .4 .4 .1] for faces labeled [1 3 4 6], and the astragali could not roll a 2 or 5. So, solve the probability of Zeus, Good Cronos, Poseidon, and Child-Eating Cronos throws with these asymmetric astragali. Modify astragalus.m to solve with at least 1 Monte Carlo and 1 analytical solution for full credit. David (1962, p 16), on reserve with a pdf on Blackboard, provides the solutions but not her code.