Last active
April 9, 2024 10:25
-
-
Save mgrabovsky/2104a47fbb7264071ac8992906074088 to your computer and use it in GitHub Desktop.
Simulating observations in the Lighthouse problem in R
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(ggplot2) | |
| # Metaparameters. | |
| d <- 5 # Distance of the lighthouse from the coast. | |
| x0 <- 4 # Perpendicular position of the lighthouse along the coast. | |
| set.seed(1987) | |
| # Simulate the data. | |
| N <- 1e4 | |
| phi <- runif(N, -pi / 2, pi / 2) | |
| x <- d * tan(phi) + x0 | |
| df_sims <- tibble(x = x) | |
| # Plot the distribution. | |
| ggplot(df_sims, aes(x, after_stat(density))) + | |
| geom_density(colour = "sienna3", linewidth = 1) + | |
| geom_histogram(binwidth = 1, center = .5, fill = "slategrey", colour = "white") + | |
| geom_vline(xintercept = x0, colour = "goldenrod1", linetype = 2, linewidth = .8) + | |
| xlim(-40, 50) + | |
| theme_minimal() | |
| # Distribution of absolute deviations from the median. | |
| absolute_deviation <- abs(x - median(x)) | |
| mad_obs <- median(absolute_deviation) | |
| df_absdev <- tibble(absolute_deviation = absolute_deviation) | |
| ggplot(df_absdev, aes(absolute_deviation, after_stat(density))) + | |
| geom_histogram(binwidth = 1, center = .5, fill = "sienna3", colour = "white") + | |
| geom_vline(xintercept = mad_obs, colour = "slategrey", linetype = 2, linewidth = 1) + | |
| annotate("text", x = mad_obs + 1.3, y = 0.114, | |
| label = "Median absolute deviation", | |
| colour = "slategrey", size = 3.5, hjust = 0) + | |
| xlim(0, 60) + | |
| theme_minimal() | |
| ggplot(df_absdev, aes(absolute_deviation, after_stat(y))) + | |
| stat_ecdf(colour = 'sienna3') + | |
| geom_vline(xintercept = mad_obs, colour = "slategrey", linetype = 2, linewidth = 1) + | |
| annotate("text", x = mad_obs + 1.3, y = 0.114, | |
| label = "Median absolute deviation", | |
| colour = "slategrey", size = 3.5, hjust = 0) + | |
| scale_x_log10() + | |
| ylab("Cumulative density") + | |
| theme_minimal() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8' ?> | |
| <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 504.00 360.00'> | |
| <defs> | |
| <style type='text/css'><![CDATA[ | |
| line, polyline, path, rect, circle { | |
| fill: none; | |
| stroke: #000000; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| stroke-miterlimit: 10.00; | |
| } | |
| ]]></style> | |
| </defs> | |
| <rect width='100%' height='100%' style='stroke: none; fill: #FFFFFF;'/> | |
| <defs> | |
| <clipPath id='cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ=='> | |
| <rect x='40.68' y='5.48' width='457.84' height='322.15' /> | |
| </clipPath> | |
| </defs> | |
| <polyline points='40.68,257.50 498.52,257.50 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='40.68,146.53 498.52,146.53 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='40.68,35.56 498.52,35.56 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='130.86,327.63 130.86,5.48 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='269.60,327.63 269.60,5.48 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='408.34,327.63 408.34,5.48 ' style='stroke-width: 0.53; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='40.68,312.98 498.52,312.98 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='40.68,202.01 498.52,202.01 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='40.68,91.04 498.52,91.04 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='61.49,327.63 61.49,5.48 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='200.23,327.63 200.23,5.48 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='338.97,327.63 338.97,5.48 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <polyline points='477.71,327.63 477.71,5.48 ' style='stroke-width: 1.07; stroke: #EBEBEB; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='61.49' y='20.12' width='6.94' height='292.86' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='68.43' y='47.88' width='6.94' height='265.10' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='75.36' y='72.58' width='6.94' height='240.40' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='82.30' y='97.98' width='6.94' height='215.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='89.24' y='155.14' width='6.94' height='157.84' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='96.17' y='186.43' width='6.94' height='126.55' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='103.11' y='194.90' width='6.94' height='118.08' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='110.05' y='221.95' width='6.94' height='91.03' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='116.98' y='233.47' width='6.94' height='79.51' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='123.92' y='249.00' width='6.94' height='63.98' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='130.86' y='257.23' width='6.94' height='55.75' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='137.80' y='258.64' width='6.94' height='54.34' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='144.73' y='272.05' width='6.94' height='40.93' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='151.67' y='280.29' width='6.94' height='32.70' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='158.61' y='280.29' width='6.94' height='32.70' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='165.54' y='285.46' width='6.94' height='27.52' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='172.48' y='290.40' width='6.94' height='22.58' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='179.42' y='290.64' width='6.94' height='22.35' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='186.35' y='296.99' width='6.94' height='16.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='193.29' y='295.10' width='6.94' height='17.88' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='200.23' y='295.81' width='6.94' height='17.17' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='207.17' y='297.69' width='6.94' height='15.29' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='214.10' y='300.75' width='6.94' height='12.23' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='221.04' y='297.22' width='6.94' height='15.76' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='227.98' y='302.16' width='6.94' height='10.82' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='234.91' y='302.87' width='6.94' height='10.11' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='241.85' y='302.87' width='6.94' height='10.11' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='248.79' y='302.87' width='6.94' height='10.11' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='255.72' y='303.10' width='6.94' height='9.88' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='262.66' y='303.34' width='6.94' height='9.64' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='269.60' y='305.45' width='6.94' height='7.53' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='276.54' y='306.40' width='6.94' height='6.59' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='283.47' y='304.98' width='6.94' height='8.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='290.41' y='307.81' width='6.94' height='5.18' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='297.35' y='307.57' width='6.94' height='5.41' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='304.28' y='307.81' width='6.94' height='5.18' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='311.22' y='307.57' width='6.94' height='5.41' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='318.16' y='307.81' width='6.94' height='5.18' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='325.10' y='308.51' width='6.94' height='4.47' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='332.03' y='308.04' width='6.94' height='4.94' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='338.97' y='308.51' width='6.94' height='4.47' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='345.91' y='308.04' width='6.94' height='4.94' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='352.84' y='308.98' width='6.94' height='4.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='359.78' y='307.10' width='6.94' height='5.88' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='366.72' y='310.16' width='6.94' height='2.82' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='373.65' y='308.98' width='6.94' height='4.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='380.59' y='310.16' width='6.94' height='2.82' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='387.53' y='307.34' width='6.94' height='5.65' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='394.47' y='310.39' width='6.94' height='2.59' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='401.40' y='308.98' width='6.94' height='4.00' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='408.34' y='309.45' width='6.94' height='3.53' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='415.28' y='310.87' width='6.94' height='2.12' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='422.21' y='309.22' width='6.94' height='3.76' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='429.15' y='309.92' width='6.94' height='3.06' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='436.09' y='310.63' width='6.94' height='2.35' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='443.02' y='310.39' width='6.94' height='2.59' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='449.96' y='310.63' width='6.94' height='2.35' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='456.90' y='310.39' width='6.94' height='2.59' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='463.84' y='310.63' width='6.94' height='2.35' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <rect x='470.77' y='311.57' width='6.94' height='1.41' style='stroke-width: 1.07; stroke: #FFFFFF; stroke-linecap: butt; fill: #CD6839;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <line x1='96.39' y1='327.63' x2='96.39' y2='5.48' style='stroke-width: 2.13; stroke: #708090; stroke-dasharray: 11.38,11.38; stroke-linecap: butt;' clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)' /> | |
| <g clip-path='url(#cpNDAuNjc3NHw0OTguNTIxfDMyNy42MjV8NS40Nzk0NQ==)'><text x='105.40' y='63.54' style='font-size: 9.96px; fill: #708090; font-family: Arial;' textLength='115.71px' lengthAdjust='spacingAndGlyphs'>Median absolute deviation</text></g> | |
| <defs> | |
| <clipPath id='cpMHw1MDR8MzYwfDA='> | |
| <rect x='0.00' y='0.00' width='504.00' height='360.00' /> | |
| </clipPath> | |
| </defs> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='18.62' y='316.13' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='17.13px' lengthAdjust='spacingAndGlyphs'>0.00</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='18.62' y='205.16' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='17.13px' lengthAdjust='spacingAndGlyphs'>0.05</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='18.62' y='94.19' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='17.13px' lengthAdjust='spacingAndGlyphs'>0.10</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='59.04' y='338.86' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='4.89px' lengthAdjust='spacingAndGlyphs'>0</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='195.33' y='338.86' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='9.79px' lengthAdjust='spacingAndGlyphs'>20</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='334.08' y='338.86' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='9.79px' lengthAdjust='spacingAndGlyphs'>40</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='472.82' y='338.86' style='font-size: 8.80px; fill: #4D4D4D; font-family: Arial;' textLength='9.79px' lengthAdjust='spacingAndGlyphs'>60</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text x='223.73' y='352.00' style='font-size: 11.00px; font-family: Arial;' textLength='91.74px' lengthAdjust='spacingAndGlyphs'>absolute_deviation</text></g> | |
| <g clip-path='url(#cpMHw1MDR8MzYwfDA=)'><text transform='translate(13.35,183.98) rotate(-90)' style='font-size: 11.00px; font-family: Arial;' textLength='34.85px' lengthAdjust='spacingAndGlyphs'>density</text></g> | |
| </svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment