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/15 14:46] – [The use and significance of frequency] vaclavcvrcek | 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 of the frequency of phenomena in the entire language. Every corpus is more or less a precise approximation of the population in question (=texts of a certain | + | In order to interpret frequency correctly it is necessary to realize that it is a point estimate of the frequency of phenomena in the entire language. Every corpus is more or less a precise approximation of the population in question (=texts of a certain |
- | < | + | For finding out the confidence interval we use the corpus calculator **Calc** |
- | <iframe id=" | + | |
- | < | + | |
- | (function() { | + | |
- | //////////////////////////////////////////// | + | |
- | // CONFIGURE THESE TO MATCH YOUR USE CASE // | + | |
- | //////////////////////////////////////////// | + | |
- | + | ||
- | // this should be the root URL of the child frame (Shiny app) which you want | + | |
- | // to allow to send messages to the parent | + | |
- | var allowedOrigin = "https://trost.korpus.cz" | + | |
- | + | ||
- | | + | |
- | // END CONFIGURATION // | + | |
- | /////////////////////// | + | |
- | + | ||
- | var embeddedApp | + | |
- | + | ||
- | function resizeIframe(pixels) { | + | |
- | embeddedApp.style.height = pixels + " | + | |
- | } | + | |
- | + | ||
- | | + | |
- | 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 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. | 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. |