TU Wien:Statistik und Wahrscheinlichkeitstheorie UE (Levajkovic)/Übungen 2023W/HW02.3

Aus VoWi
Zur Navigation springen Zur Suche springen
The Cauchy cummulative distribution function

Let

.

(a) Show that is a cumulative distribution function of a certain random variable .

(b) Find the density function and use R to sketch its graph.

(c) Find such that .

Dieses Beispiel ist als solved markiert. Ist dies falsch oder ungenau? Aktualisiere den Lösungsstatus (Details: Vorlage:Beispiel)


Lösungsvorschlag von Lessi[Bearbeiten | Quelltext bearbeiten]

--Lessi 2024-02-07T13:04:11Z


a[Bearbeiten | Quelltext bearbeiten]

Let be a cumulative distribution function

1) : Given that ,

2) F is monotonically increasing: implies arctan is monotonically increasing. Therefore F is also monotonically increasing

3)

is shown similarly.

4) F is right continuous

Since is coninous over the entirity of it is also right-continuous for all

b[Bearbeiten | Quelltext bearbeiten]

The cdf of a continuous random variable is defined as the integral over the pdf.

fY <- function(x) {
  return(1 / (pi * (1 + x^2)))
}

curve(fY(x), from=-10, to=10, col = "red", xlab = "x-axis", ylab = "y-axis", main = "Plot of fY")


c[Bearbeiten | Quelltext bearbeiten]

F <- function(y) {
  return(1 / 2 + atan(y) / pi)
}

a <- tan(4 * pi / 10)

1 - F(a)