Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:pojmy:frekvence [2016/12/15 14:47] – [Measured and expected frequency] Václav Cvrček | en:pojmy:frekvence [2020/08/10 16:40] (current) – [The use and significance of frequency] Václav Cvrček | ||
---|---|---|---|
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. |