Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:pojmy:frekvence [2016/12/12 18:34] – [Dispersion of phenomena] veronikapojarova | en:pojmy:frekvence [2020/08/10 16:40] (current) – [The use and significance of frequency] vaclavcvrcek | ||
---|---|---|---|
Line 34: | Line 34: | ||
* //N// is the size of the corpus in numbers of [[en: | * //N// is the size of the corpus in numbers of [[en: | ||
- | We will never know the exact probability of the phenomenon in a population of all manifestations, | + | We will never know the exact probability of the phenomenon in a population of all manifestations, |
$ p(\text{škola}) = \frac{f(\text{škola})}{N} = \frac{47872}{122419382} = 0, | $ p(\text{škola}) = \frac{f(\text{škola})}{N} = \frac{47872}{122419382} = 0, | ||
Line 49: | Line 49: | ||
===== The use and significance of frequency ===== | ===== The use and significance of frequency ===== | ||
- | Frequency as a fundamental | + | Frequency as a fundamental |
- | In order to interpret frequency correctly it is necessary to realize that it is a point estimate | + | In order to interpret frequency correctly it is necessary to realize that it is a point estimate |
- | < | + | For finding out the confidence interval we use the corpus calculator **Calc** ([[https://www.korpus.cz/calc/?module=1|www.korpus.cz/calc]]) which calculates the interval using a [[wp>Binomial_distribution|binomial distribution]], |
- | <iframe id=" | + | |
- | <script> | + | |
- | (function() { | + | |
- | //////////////////////////////////////////// | + | |
- | // CONFIGURE THESE TO MATCH YOUR USE CASE // | + | |
- | //////////////////////////////////////////// | + | |
- | // this should be the root URL of the child frame (Shiny app) which you want | + | The confidence interval around the measured frequency on the significance level of 0.95 says that in an experiment which would encompass an infinite number of comparable corpora of the same size, the frequency of the given phenomenon would be within this interval in 95% of measurements. When conducting our analysis we should always be aware that the actual frequency of a phenomenon can acquire any value from the confidence interval. |
- | // to allow to send messages to the parent | + | |
- | var allowedOrigin = " | + | |
- | + | ||
- | /////////////////////// | + | |
- | // END CONFIGURATION // | + | |
- | /////////////////////// | + | |
- | + | ||
- | var embeddedApp = document.getElementById(" | + | |
- | + | ||
- | function resizeIframe(pixels) { | + | |
- | embeddedApp.style.height = pixels + " | + | |
- | } | + | |
- | + | ||
- | // cross-browser compatible infrastructure | + | |
- | var eventMethod = window.addEventListener ? " | + | |
- | var eventer = window[eventMethod]; | + | |
- | var messageEvent = eventMethod == " | + | |
- | + | ||
- | // listen to message from iframe | + | |
- | eventer(messageEvent, | + | |
- | if (e.origin === allowedOrigin) { | + | |
- | var key = e.message ? " | + | |
- | var data = e[key]; | + | |
- | resizeIframe(data); | + | |
- | } else { | + | |
- | console.log(" | + | |
- | } | + | |
- | }, false); | + | |
- | + | ||
- | // send message to iframe on window resize | + | |
- | window.onresize = function() { | + | |
- | embeddedApp.contentWindow.postMessage(" | + | |
- | }; | + | |
- | })(); | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | The confidence interval around the measured frequency on the significance level of 0,95 says that in an experiment which would encompass an infinite number of comparable corpora of the same size, the frequency of the given phenomenon would within this interval in 95% of measurements. When conducting our analysis we should always be aware that the actual frequency of a phenomenon can acquire any value from the confidence interval. | + | |
=== Examples === | === Examples === |