question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have a question about Scientific Data Mining.</p> <ol> <li><p>Do you know successful case studies of applying Data Mining / Machine Learning techniques in hydrodynamics?</p></li> <li><p>In general, does it make actually sense to try to apply DM/ML techniques to such deterministic systems as gas/fluid flows which ...
g18633
[ 0.03755424544215202, -0.018810158595442772, 0.007770140189677477, -0.0007631569751538336, 0.06532227247953415, -0.03192315995693207, -0.009660329669713974, 0.0022594239562749863, -0.027278579771518707, -0.07650946080684662, 0.030423464253544807, -0.03028407320380211, 0.09202555567026138, 0...
<p>First: I'm not well versed in statistics terminology so please forgive me - I'll try to be as verbose as possible with my problem.</p> <p>This is a problem which I've previously solved very naively. I'm looking to apply more standard statistical theory to this problem in an attempt to get more accurate results. Any...
g18637
[ 0.005358504597097635, 0.019840091466903687, -0.023499317467212677, -0.019393010064959526, 0.02230007015168667, -0.048803772777318954, 0.04451549053192139, 0.02434440143406391, -0.032409653067588806, 0.025547076016664505, 0.055882085114717484, -0.005320139229297638, 0.04446326196193695, -0....
<p>I have an experiment that will produce observations of the time until an event occurs. Some basic properties are that</p> <ol> <li>We count the number of events that have occurred at some point $t_1,...,t_n$.</li> <li>Event times are interval censored, between $(t-1,t]$,</li> <li>Individuals will not leave the tri...
g61863
[ -0.03635847568511963, -0.04008903354406357, 0.011378848925232887, -0.023867594078183174, -0.0015928174834698439, -0.005541451741009951, 0.027794595807790756, 0.038523461669683456, -0.09354865550994873, 0.009454559534788132, -0.015425333753228188, -0.0037540257908403873, 0.02901361510157585, ...
<p>I'm getting this error when conducting fisher.test() in R:</p> <pre><code>freqTable = 1 2 3 4 5 6 7 1 14 0 2 0 0 0 0 2 0 0 0 9 0 0 0 3 0 6 0 0 0 0 0 4 0 0 0 0 6 0 0 5 0 0 0 0 0 10 0 6 0 0 10 0 0 0 0 7 2 4 9 1 0 0 30 &gt; fisher.test(freqTable, workspac...
g61864
[ 0.02870672009885311, -0.010551472194492817, 0.020680291578173637, -0.05035234987735748, 0.05753315985202789, -0.06653114408254623, 0.02899117022752762, 0.007164016366004944, -0.029532726854085922, -0.02279309369623661, 0.007115921005606651, 0.005805210676044226, 0.003372530685737729, 0.060...
<p>We often hear of project management and design patterns in computer science, but less frequently in statistical analysis. However, it seems that a decisive step toward designing an effective and durable statistical project is to keep things organized. </p> <p>I often advocate the use of R and a consistent organizat...
g61865
[ 0.05257977545261383, 0.012970170937478542, 0.012932623736560345, -0.013093633577227592, -0.052033569663763046, -0.04865153878927231, -0.020457712933421135, 0.022540738806128502, -0.049158766865730286, -0.018020721152424812, 0.04724119231104851, -0.10267897695302963, 0.06745739281177521, -0...
<p>I have been reading about Bayesian methods for performing survival analysis. One of the things that strikes me is that in the three or so books that I have read, there has been no mention of handing ties, e.g. Efron, Breslow, or exact.</p> <p>Is this complication limited to frequentist statistical treatments?</p>
g18639
[ 0.01737031899392605, -0.014141479507088661, 0.012436348013579845, -0.03886418417096138, 0.015546904876828194, -0.026643317192792892, -0.0074677420780062675, 0.02488594874739647, -0.039240315556526184, -0.001711964257992804, 0.020309267565608025, -0.03764820843935013, 0.06978664547204971, 0...
<p>When you are the one doing the work, being aware of what you are doing you develop a sense of when you have over-fit the model. For one thing, you can track the trend or deterioration in the Adjusted R Square of the model. You can also track a similar deterioration in the p values of the regression coefficients of...
g18641
[ 0.027728140354156494, -0.03898646682500839, -0.007954785600304604, -0.021969517692923546, 0.04387830197811127, -0.021397827193140984, 0.0887003019452095, 0.006549338810145855, -0.022013049572706223, -0.04966938868165016, -0.04480666667222977, -0.012402800843119621, 0.03556784242391586, 0.0...
<p>I am talking about the regression method that measures the impact of several layers of independent variables upon a dependent variable.</p>
g49763
[ 0.02986494079232216, 0.03944101929664612, -0.02376486174762249, -0.04201001673936844, -0.046028073877096176, -0.014616858214139938, 0.013449551537632942, -0.013076422736048698, -0.027032822370529175, -0.0444989874958992, -0.03144928440451622, -0.002555019920691848, 0.014502416364848614, 0....
<p>I am running into a problem where an independent variable, which should have no predictive power on the dependent variable based on domain knowledge, comes out with very small p-value because the sample size is very large(~100,000). If I only use &lt; 5000 data points, then the p-value becomes large enough to suppor...
g49494
[ 0.0005222585168667138, 0.03276919946074486, 0.011251083575189114, -0.08291205018758774, -0.09549674391746521, -0.026803337037563324, 0.007310566026717424, 0.05794290453195572, -0.02553393319249153, -0.018389619886875153, 0.05824277549982071, 0.012833728455007076, 0.030064601451158524, 0.05...
<p>I have 2D data (I have a zero mean normalized data). I know the covariance matrix, eigenvalues and eigenvectors of it. I want to decide whether to reduce the dimension to 1 or not (I use principal component analysis, PCA). How can I decide? Is there any methodology for it?</p> <p>I am looking sth. like if you look...
g61866
[ 0.025359146296977997, -0.025588784366846085, 0.007491104770451784, -0.05271915718913078, -0.018996063619852066, 0.003753664204850793, 0.07517487555742264, 0.012090964242815971, -0.047135282307863235, -0.016339492052793503, 0.06212301552295685, 0.001095128827728331, -0.015062803402543068, 0...
<p>Are Lorenz curves and QQ-plots the same? If not, where are the differences? I read about both of them and they appear to be two terms for the same type of plot / statistical technique to compare distributions. I was not able to find any confirmatory source for this. Perhaps you know?</p>
g37890
[ 0.0479571595788002, -0.03294661268591881, 0.0011647131759673357, -0.020709728822112083, -0.028973396867513657, -0.0032944693230092525, 0.03232763707637787, -0.07046907395124435, 0.0018102274043485522, -0.049242325127124786, 0.0002796754415612668, 0.02275167778134346, 0.06387583911418915, 0...
<p>I'm doing a retrospective study looking at how the mortality of piglets differs with increasing age of pigs. </p> <p>Since my data is for each sow over seven years and each sow may only have mortality in one or two years, I'm running into a lot of trouble with descriptive stats. My Friedman's test showed a signific...
g18644
[ -0.0010812078835442662, 0.00016934859741013497, -0.005351721774786711, -0.03600403666496277, -0.020458487793803215, 0.034254539757966995, 0.012909969314932823, 0.0512179434299469, -0.06293714791536331, -0.00023950048489496112, 0.019054120406508446, -0.03381608799099922, 0.07630003988742828, ...
<p>I have vectors of same length consisting of 1 and 0. I am trying to find out how similar they are. So far I am using hamming distance that I calculate sum of one vector then sum of second vector and the difference between this is the difference of the days. With 1 and 0 it works pretty well.</p> <p>My problem is th...
g61867
[ -0.012251504696905613, -0.023109400644898415, -0.017396504059433937, -0.04042065516114235, -0.05811382085084915, -0.04102721065282822, 0.0694342777132988, 0.011337785981595516, -0.033367324620485306, -0.044287580996751785, -0.006752104498445988, 0.005860194098204374, 0.03614342585206032, 0...
<p>I have a research project about finding out user's interaction on Twitter. If I want to calculate the mutual information between two users A,B: I(A,B), to know the probability of A and B appearing in the same discussion. So how can I calculate this? What can be the p(A), p(B) and p(A,B) in this case? As my thought,...
g61868
[ 0.03669755905866623, 0.006062971893697977, 0.008732636459171772, -0.01778041571378708, 0.06251200288534164, -0.013193108141422272, 0.03574800118803978, -0.011031817644834518, -0.06629087030887604, 0.007558123208582401, -0.03048769012093544, -0.0127719696611166, 0.0285065695643425, 0.020371...
<p>I am new to modelling percentage data, and I would be greatfull for some advice. I have proportion data (0,1] on a percentage of money sent by Player B to Player A. Participants received an amount of money, and could decide what percentage they will send back. I have two categorical predictors (1<sup>st</sup> with 3...
g61869
[ 0.0262014027684927, -0.014650091528892517, -0.013931725174188614, -0.03767889738082886, 0.0005181132582947612, -0.009749765507876873, -0.0020510239992290735, -0.019220123067498207, -0.0326494425535202, -0.013306575827300549, 0.024175919592380524, 0.02582295797765255, 0.10140914469957352, -...
<p>What are the approaches for characterizing the failure rate from usage and maintenance data of a fleet of repairable units? The usage data contains risk indicators (typically vibration levels, or operation limit exceedances), operational time durations, operating conditions, and recording times. The maintenance da...
g61870
[ -0.018764104694128036, -0.04807329922914505, -0.021363073959946632, -0.01218199823051691, 0.03742809221148491, -0.02552284300327301, 0.0594833679497242, 0.00009634646266931668, -0.010052401572465897, -0.014827806502580643, 0.045696843415498734, -0.010087018832564354, 0.044249527156353, 0.0...
<p>I am designing a questionnaire by using five-point Likert scale. What is the advantage of five-point Likert scale over seven-point Likert scale? </p> <p>Thank you.</p>
g34194
[ 0.026779189705848694, 0.03908766806125641, -0.002803980140015483, -0.029379505664110184, 0.027552422136068344, -0.010545844212174416, -0.009579003788530827, -0.03987961634993553, -0.01873130537569523, 0.030041968449950218, 0.0029520110692828894, -0.019199075177311897, 0.026063693687319756, ...
<p>Say I have 16 work days in a month, and I have 16 days of production data so that I have a mean and variance for this daily data (e.g. mean is 3750 and variance is 500).</p> <p>I can construct a confidence interval for the daily data, but how do I inflate the interval width to construct a confidence interval of the...
g61871
[ 0.0024230352137237787, 0.0005311919376254082, -0.027242960408329964, 0.01352617610245943, -0.05970677360892296, 0.04207080975174904, 0.017857348546385765, -0.02917134016752243, -0.04462011158466339, -0.07607987523078918, 0.019631067290902138, 0.004880325403064489, 0.033774472773075104, -0....
<p>I am having some trouble running an Anova on categorical variables in R and matching SPSS output. What I need to do is run an anova on the dataset below (its a made up data set). But, I need to know if the mean of each category is significantly from the total mean of all races. </p> <pre><code>Satisfaction Rac...
g61872
[ -0.01613457314670086, -0.04343077912926674, -0.003240154590457678, -0.040298786014318466, -0.03957724571228027, -0.021490268409252167, 0.03410280495882034, 0.0431300513446331, -0.04593425244092941, 0.040448930114507675, 0.013892138376832008, 0.06663770973682404, 0.037053413689136505, 0.026...
<p>In R, if I set.seed(), and then use the sample function to randomize a list, can I guarantee I won't generate the same permutation?</p> <p>ie...</p> <pre><code>set.seed(25) limit &lt;- 3 myindex &lt;- seq(0,limit) for (x in seq(1,factorial(limit))) { permutations &lt;- sample(myindex) print(permutations) }...
g38192
[ -0.03286829963326454, 0.010354941710829735, 0.019215164706110954, -0.041704412549734116, -0.014256699942052364, -0.0432417131960392, -0.006223438307642937, 0.003902087453752756, -0.04194270446896553, -0.030191341415047646, -0.028870223090052605, 0.033911798149347305, -0.04205666482448578, ...
<p>I made a visualization of Amazon related products. Every link in visualization means two products are often bought together.</p> <p>Now I'm applying various graph analysis techniques and am fascinated by the results. The biggest problem though is translating scientific terms to human language (please pardon me if i...
g61873
[ 0.013645296916365623, 0.012248408049345016, 0.00003228366404073313, -0.01959978975355625, 0.04270228371024132, -0.05011095479130745, -0.0011229246156290174, 0.029127832502126694, 0.0035424288362264633, 0.019153643399477005, 0.015208893455564976, 0.016821207478642464, 0.04867122694849968, -...
<p>I ran the same code in R and in R-studio, but got two different results. Does anybody know why this is occurring, and if there is a fix for this? If there is no remedy, which is the "correct" program to use? </p> <p>Some information about the code I am running:</p> <p>I am using smooth.spline() as the only built i...
g61874
[ 0.05254001542925835, -0.05618853494524956, -0.005975899752229452, 0.005303373094648123, -0.03031929023563862, -0.0232126135379076, 0.07464517652988434, 0.034696388989686966, -0.04696400463581085, -0.0148899145424366, -0.02005673386156559, 0.03610987216234207, 0.035732343792915344, 0.038748...
<p>I have a theoretical economic model which is as follows,</p> <p>$$ y = a + b_1x_1 + b_2x_2 + b_3x_3 + u $$</p> <p>So theory says that there are $x_1$, $x_2$ and $x_3$ factors to estimate $y$.</p> <p>Now I have the real data and I need to estimate $b_1$, $b_2$, $b_3$. The problem is that the real data set contains...
g49359
[ 0.027148282155394554, -0.00010383059998275712, 0.004665350541472435, -0.013692997395992279, 0.01370440423488617, 0.023003997281193733, -0.01882319524884224, 0.010072586126625538, -0.036219194531440735, 0.014814690686762333, 0.00451401062309742, 0.0007306020124815404, 0.0022199710365384817, ...
<p>I have data on sea temperatures at different depths. With these data I need to remove seasonal and non-seasonal oscillations by fitting a function that consists of two sinusoids with periods of 12 and 6 hours on temperatue data (for every depth). The function needs to be put in seasonal diagram. And this adjustment ...
g61875
[ 0.06811267882585526, -0.05852882191538811, 0.0075291977263987064, -0.06875395774841309, 0.0035297423601150513, -0.054417550563812256, 0.03583989664912224, 0.005357060115784407, 0.012791640125215054, 0.020147990435361862, -0.009935715235769749, 0.01643243245780468, 0.0525689460337162, 0.038...
<p>I have some ranges of values and frequencies of each range. Participants choosed an entire range when asked, and not a particular value. </p> <p>Example:</p> <p>Range [0,20] : frequency = 20 </p> <p>Range (20,60], frequency = 10 </p> <p>Range (60, 100], frequency = 15 </p> <p>I'm trying to figure out how to ge...
g61876
[ -0.028801357373595238, 0.04249252378940582, -0.042939987033605576, 0.006879452150315046, -0.00819533783942461, 0.011734585277736187, 0.0014472530456259847, -0.007677594665437937, -0.05216215178370476, -0.018483536317944527, -0.019394787028431892, -0.005135218147188425, 0.009237594902515411, ...
<p>In R I use a lot the packages plyr, stringr, Hmisc and ggplot2. Each of these packages take the base code and make functions that are more intuitive and easier to work with. Each of these packages tend to focus on the data munging and exploration side of data analysis. Are there any packages that make working with l...
g61877
[ 0.011322231963276863, -0.049833305180072784, -0.015560010448098183, -0.007537938188761473, -0.0022592591121792793, -0.0949988141655922, 0.0034695228096097708, -0.03442329540848732, -0.04939763993024826, -0.029196621850132942, 0.027796180918812752, 0.013622843660414219, 0.020797958597540855, ...
<p>I'm using the R package Penalized (0.9-42) on a Cox PH model. I'm using L2 (Ridge) on the grounds that I don't want to shrink my coefficients to 0. I don't understand why when I ask for:</p> <pre><code>fit &lt;- penalized(Surv(ttocomplete2, event)~ x1 + x2 + as.factor(x3), lamda2=15.96)) print(coefficients(fit, "a...
g61878
[ 0.032488029450178146, -0.06301002204418182, -0.014030486345291138, -0.03038722835481167, 0.07479128241539001, -0.01597723178565502, 0.039243414998054504, 0.04930853098630905, -0.04782131314277649, -0.04417651891708374, -0.03818570449948311, 0.06296651065349579, 0.03170328587293625, 0.02154...
<p>I am familiar with the log-rank test for comparing multiple Kaplan-Meier curves, but I am looking for a test that will compare across ordered groups (an ordinal variable). A significant result from the log rank test indicates that at least one of the groups has a survival curve different than the others. I want a te...
g18652
[ -0.009965343400835991, -0.03124375268816948, -0.015818895772099495, -0.028819294646382332, -0.008558818139135838, -0.07883770763874054, -0.003967868629842997, -0.03090316615998745, -0.04053657129406929, 0.01720854826271534, 0.03199812024831772, 0.027988839894533157, 0.03506244346499443, 0....
<p>Suppose, I have done:</p> <ul> <li>$n_1$ independent trials with an unknown success rate $p_1$ and observed $k_1$ successes.</li> <li>$n_2$ independent trials with an unknown success rate $p_2$ and observed $k_2$ successes.</li> </ul> <p>If, now $p_1 = p_2 =: p$ but still unknown, the probability $p(k_2)$ to obser...
g61879
[ -0.023533158004283905, 0.024115122854709625, -0.014279921539127827, 0.012071364559233189, 0.008489700965583324, -0.049805451184511185, 0.020188134163618088, -0.04733063653111458, -0.007294849958270788, -0.006927021313458681, 0.009660233743488789, 0.05272612348198891, 0.0691763162612915, -0...
<p>First off let me say that I had one stats course in engineering school 38 years ago. So I'm flying blind here.</p> <p>I've got the results of what are essentially 18 separate diagnostic tests for a disease. Each test is binary -- yes/no, with no threshold that can be adjusted to "tune" the test. For each test I ...
g18656
[ 0.027929112315177917, -0.04645354300737381, -0.0034110911656171083, -0.002210192149505019, -0.01809283345937729, -0.010989605449140072, 0.032877154648303986, 0.012192091904580593, 0.0012238071067258716, -0.015711653977632523, 0.06641532480716705, 0.032923515886068344, 0.10776807367801666, ...
<p>In a previous question I asked about the <a href="http://stats.stackexchange.com/questions/13011/when-was-the-autocorrelation-function-invented-and-what-was-the-motivation-for-i">history of auto-correlation</a></p> <p>In this question I'm interested in the discovery process behind cross-correlation.</p> <ul> <li>W...
g18657
[ 0.08088626712560654, 0.03715912252664566, 0.01137752179056406, -0.01684729941189289, 0.021146848797798157, -0.0003792298957705498, 0.09100043028593063, 0.01106544304639101, -0.02445719763636589, -0.025062493979930878, -0.06090486794710159, 0.019468529149889946, 0.04962461441755295, 0.00352...
<p>I have run several Chi-square tests and want a measure of effect size. I have some 1x2 tables, 1x4 tables, 4x9, and 3x4 tables of frequency data.</p> <p>What measure of effect size can I use on these rectangular frequency tables, if each cell has a different expected frequency?</p> <p>(I would like to use somethi...
g61880
[ 0.005177825223654509, 0.01019118633121252, 0.011902233585715294, -0.08234337717294693, -0.010095958597958088, -0.08377522975206375, -0.030895410105586052, 0.004346477799117565, -0.0213438980281353, -0.023218562826514244, 0.041632916778326035, 0.055287860333919525, -0.015138891525566578, 0....
<p>I'm just very curious about the discovery process behind the autocorrelation function. </p> <ul> <li>When was it invented? </li> <li>Was it independently invented multiple times, for example?</li> <li>What was the motivation for it?</li> </ul>
g61881
[ 0.07161799818277359, 0.03655107319355011, 0.011167246848344803, -0.029921146109700203, 0.02103249914944172, -0.013797027990221977, 0.051498379558324814, 0.008193030022084713, -0.03277633711695671, -0.060121066868305206, -0.0688900500535965, 0.027114570140838623, 0.0938013568520546, -0.0002...
<p>I am looking for an optimization routine that can optimize a non-linear objective function with integer constraints. <a href="http://spotfire.tibco.com/products/splus-nuopt.aspx" rel="nofollow">NuOPT</a> for S-Plus, <a href="http://en.wikipedia.org/wiki/CPLEX" rel="nofollow">CPLEX</a>, or <a href="http://www.mathwor...
g48598
[ 0.021314864978194237, -0.01949053630232811, 0.008522951044142246, 0.040722690522670746, -0.08247442543506622, -0.053401120007038116, 0.007961278781294823, -0.02965620905160904, -0.04758629947900772, -0.0017126282909885049, -0.01656217873096466, 0.01041343528777361, 0.022233257070183754, 0....
<p>I want to learn data mining. Are there any free video lectures out there which explain the process of data mining in depth?</p>
g61882
[ 0.046266648918390274, 0.09416433423757553, -0.018836284056305885, 0.01435171253979206, 0.02333364076912403, 0.002957581542432308, 0.007121610455214977, 0.013495896011590958, 0.01785765402019024, -0.07721054553985596, -0.008575301617383957, 0.04728430509567261, 0.0647130012512207, 0.0233843...
<p>I'd like to fit a <strong>longitudinal model</strong> for where <em>multiple subjects experience binary outcomes over time</em>. To accomplish that, I'd like to use an additive random effect for each subject and an autoregressive error process to model the temporal stability in the "success probability." </p> <p>To...
g61883
[ -0.01663026586174965, -0.05268729850649834, -0.018117181956768036, -0.06392852216959, -0.0033889412879943848, 0.025955183431506157, 0.026134490966796875, -0.034709807485342026, -0.07666753977537155, -0.017309177666902542, 0.020095670595765114, 0.014695636928081512, 0.04381711408495903, 0.0...
<p>I estimated the mean and variance of two latent variables through two groups of data. I can't use the data to do hypothesis testing, because I am interested in the latent variable. Is there a way to test the whether the two latent variables are significantly different?</p>
g61884
[ -0.0037361737340688705, -0.043043676763772964, 0.01764378324151039, -0.05866033583879471, -0.052123960107564926, 0.0035838668700307608, -0.020878873765468597, 0.026714595034718513, -0.03992464020848274, -0.04408065602183342, 0.014732388779520988, 0.0600639209151268, -0.041476573795080185, ...
<p>There is such a problem: we have to process multi-label classification (assignmet of tags) of text articles, using some pre-labeled training set. But for many texts in the training set, should be assigned more tags, that it was done by their authors.</p> <p>For example, there is a text about war medicine, and there...
g61885
[ -0.009198220446705818, -0.016416478902101517, -0.009100795723497868, -0.029231691733002663, 0.028843389824032784, -0.021034955978393555, -0.007086928468197584, 0.021246710792183876, -0.014322600327432156, 0.015864744782447815, 0.006759485229849815, -0.02189108170568943, 0.0819430723786354, ...
<p>After reducing the dimensions of a matrix using PCA, I want to transform the "big" components (i.e. they cumulatively account for 90% of the variance) of each row into a single value. The value does not have to be unique, only relative so that they can be compared. </p> <p>Is there a statistical technique that wi...
g61886
[ 0.009972145780920982, -0.006019318476319313, 0.002408005530014634, -0.0687292292714119, -0.04507438838481903, -0.0489155612885952, 0.0765693262219429, 0.032510243356227875, -0.037998490035533905, -0.021255411207675934, 0.038164857774972916, -0.0008275302243418992, 0.044908881187438965, 0.0...
<p>If I want to find how strongly a dependent variable is related to another dependent variables in a study, do I make use of multiple regression?</p> <p>The reason I am asking is because the book mentions that for instance to conduct a standard regression, I will need to input all the independent variables and the co...
g61887
[ 0.013773486949503422, -0.03269031271338463, -0.004496314562857151, -0.03131559491157532, -0.04973052069544792, -0.02856266126036644, -0.04061901569366455, 0.04666944593191147, 0.016813328489661217, -0.04801226407289505, -0.01394472923129797, -0.009094665758311749, 0.027905823662877083, 0.0...
<p>I'm new here and have some doubts. I'm working with a large data set of water quality and want to test for differences between the hydrological stations and between stretches of the river. There is a large internal variability into class factors. For this, I intend to do the following analyses: Exploratory PCA: to s...
g18666
[ 0.0028322653379291296, -0.05536382272839546, -0.0019952140282839537, -0.08921369910240173, -0.03130264952778816, -0.0017299618339166045, 0.07841313630342484, -0.02345847897231579, -0.03808675333857536, -0.011847937479615211, 0.021799063310027122, 0.05308850109577179, 0.046722572296857834, ...
<p>Background:<br> I had to perform a data analysis for a client (some kind of lawyer) who was an absolute beginner in statistics. He asked me what the term "statistical significance" means and I really tried to explain it... but since I'm not good at explaining things I failed ;)</p>
g18667
[ 0.03464694321155548, 0.05597000569105148, 0.006083078682422638, -0.027631117030978203, 0.002574416110292077, 0.028712963685393333, 0.06190817803144455, 0.025301378220319748, -0.018625954166054726, -0.0426320880651474, -0.07209081947803497, -0.012511176988482475, 0.03779855743050575, 0.0244...
<p>In simple linear regression, what is the covariance between the error term and the residual?</p> <p>Model: $y_i = \beta_0 +\beta_1 x_i + \varepsilon_i$</p> <p>What will be the $\rm {cov}(\varepsilon_i,\ e_i)$, where $e_i = y_i - \hat y_i$?</p>
g61888
[ 0.05896630138158798, -0.0792323499917984, -0.0024432463105767965, 0.019343826919794083, 0.02816249057650566, 0.023070963099598885, 0.044003214687108994, 0.014080280438065529, -0.04395904019474983, 0.0039439015090465546, -0.051322441548109055, 0.038999538868665695, -0.011272231116890907, -0...
<p>If I have a normal distribution with a given mean and variance and apply a logistic transform to it, what is the mean and variance of my transformed variable? </p> <p>This seems like it has to be a well known problem, but I haven't been able to find a quick reference anywhere. </p>
g61889
[ -0.007371915969997644, 0.030001861974596977, 0.006447993218898773, -0.06027660146355629, 0.028583385050296783, -0.03773407265543938, -0.021446174010634422, 0.037579044699668884, -0.010448075830936432, -0.023921949788928032, -0.026075782254338264, 0.026898711919784546, -0.011219040490686893, ...
<p>Trying to fit a linear mixed effects model with 2 categorical predictors (group &amp; worker) where worker is a random effect and group a fixed effect. I'm trying to figure out 1) whether I should specify intercept=0 and 2) why these 2 model results seem to give different conclusions about the effect of group.</p> ...
g61890
[ -0.002613822929561138, -0.06515514850616455, 0.013498695567250252, -0.012975498102605343, 0.01271066814661026, 0.03116574138402939, 0.08050154149532318, 0.05332350358366966, -0.07057245075702667, -0.035994816571474075, -0.015861591324210167, 0.02021549828350544, -0.006242440082132816, 0.02...
<p>I have a long time series data (running several years). I have split the data into several series, each of 1 month duration.</p> <p>I then perform some custom calculations on each of the 'shortened' time series and collate some robust summary stats (mode, MAD etc on my calculated data). </p> <p>I then want to see ...
g18670
[ 0.04747752100229263, -0.014377725310623646, 0.005571463610976934, -0.04222480207681656, -0.03783972188830376, -0.04758772999048233, 0.06363242864608765, -0.0047983028925955296, -0.036523375660181046, -0.031316567212343216, -0.013060268014669418, 0.05123983696103096, 0.019457628950476646, -...
<p>I have two datasets $X$ and $Y$ that have paired data, however one of the sets is larger than the other. I am interested in the standard error of the difference $Z = X - Y$.</p> <p>I guess I could use the <a href="http://stats.stackexchange.com/questions/7754/how-to-calculate-the-difference-of-two-standard-deviatio...
g18671
[ 0.006148688029497862, -0.02593282051384449, -0.005914703477174044, -0.04811261221766472, -0.029170164838433266, -0.021107517182826996, -0.002066419692710042, 0.03810771927237511, -0.045522112399339676, 0.008050113916397095, 0.0021286518312990665, 0.020577074959874153, 0.0289267897605896, 0...
<p>As stated in many textbooks, the Standard error of the slope in linear regression with one variable is</p> <p>$\sqrt{\frac{s^2}{SSX}}$</p> <p>or some rewrite, ${s^2}$ being the error variance and ${SSX}$ being the sum of the ${x}$-squares. </p> <p>Can anybody help with an explicit proof? </p>
g49626
[ 0.023021580651402473, -0.025212783366441727, -0.03106747195124626, -0.016093220561742783, 0.0064358836971223354, -0.011438757181167603, 0.021128874272108078, 0.02172531932592392, -0.0040568094700574875, 0.008862631395459175, -0.014309157617390156, 0.053356051445007324, -0.001981213688850403,...
<p>When an extra shape parameter is added in the distribution than a statement in favour of this parameter is written "extra parameter can control both tail weights and adding entropy to the centre of the density function". I am quite clear about tail weight but cannot understand adding entropy to the centre and how to...
g61891
[ 0.014025222510099411, -0.00052154395962134, 0.006406926084309816, -0.07667651772499084, 0.08669693022966385, 0.011730811558663845, 0.002731367014348507, 0.014470684342086315, -0.0398506224155426, -0.0018604850629344583, -0.04266176372766495, 0.011573039926588535, 0.05864865705370903, -0.00...
<p>I'm estimating a Random Effects model with an AR(1) disturbance for the errors (xtregar in Stata). The reported results show that the constant (in Stata terminology) is positive and significant.</p> <p>The question is, in general terms, how do you interpret this constant term?</p>
g61892
[ -0.003290207125246525, -0.06190679967403412, -0.008511294610798359, -0.025649230927228928, 0.009043412283062935, 0.024517755955457687, 0.06305822730064392, 0.037140876054763794, 0.005615140777081251, -0.008003964088857174, 0.018253441900014877, 0.04577314108610153, 0.016923347488045692, -0...
<p>I am a newbie to this forum. I searched different white papers and codes on google but couldn't find a solution, that's when I registered on this forum.. Please share in case you guys have a idea as to how to go about this problem.. </p> <p>I have a data set which consists of 30 prop. traders, and their historical ...
g61893
[ 0.018923405557870865, 0.005055499728769064, -0.02292604371905327, -0.034036871045827866, 0.017682595178484917, -0.029233315959572792, 0.03541558235883713, 0.004367082845419645, -0.00518719432875514, -0.058896467089653015, -0.005539315287023783, 0.030301550403237343, 0.025063728913664818, 0...
<p>I have a large set of variables measured on different scales/units, and want to standardize them to the same scale, with a mean of 0 and standard deviation of 1, so that I can run a PCA on them. I have heard that the <code>NORM.S.DIST</code> function in Excel is appropriate - can anyone verify this?</p>
g61894
[ -0.012678859755396843, -0.019157668575644493, -0.0014957120874896646, -0.023127835243940353, -0.01478347647935152, -0.03153799846768379, -0.033083122223615646, 0.03267228603363037, -0.04154938459396362, -0.06335727870464325, -0.018694639205932617, 0.029484862461686134, 0.009185048751533031, ...
<p>From <a href="http://stats.stackexchange.com/a/2519/1005">a reply by John</a></p> <blockquote> <p>What is true is that trivially small effects can be found with very large sample sizes. That does not suggest that you shouldn't have such large sample sizes. What it means is that the way you interpret your finding ...
g49627
[ 0.013864685781300068, 0.07513205707073212, 0.022476118057966232, -0.02624378353357315, -0.03866640478372574, -0.039185188710689545, 0.02058437280356884, 0.026642879471182823, -0.008040213957428932, -0.047238994389772415, 0.023802444338798523, 0.0197422094643116, 0.03444838896393776, 0.0465...
<p>In the spirit of this question <a href="http://stats.stackexchange.com/questions/21075/understanding-proof-of-a-lemma-used-in-hoeffding-inequality">Understanding proof of a lemma used in Hoeffding inequality </a>, I am trying to understand the steps that lead to Hoeffding's inequality.</p> <p>What holds the most my...
g61895
[ 0.0021173767745494843, 0.008032474666833878, 0.008686590939760208, -0.006257419008761644, 0.00007221919076982886, -0.002273024758324027, 0.020212892442941666, -0.004151575267314911, -0.052094656974077225, -0.004893230274319649, -0.03600626811385155, 0.041483763605356216, 0.0378606952726841, ...
<p><strong>I'm currently studying a Statistics course and I'm trying to solve a simple probability exercise:</strong></p> <p>A production facility employs:</p> <ul> <li>20 workers on the day shift</li> <li>15 workers on the swing shift</li> <li>10 workers on the grave- yard shift</li> </ul> <p>A quality control cons...
g61896
[ -0.0012132703559473157, -0.027261214330792427, 0.011015990749001503, 0.00020326345111243427, -0.0008319359039887786, 0.011090259999036789, 0.027843637391924858, 0.03578982874751091, -0.016314154490828514, -0.01130372192710638, -0.034375641494989395, -0.010798901319503784, 0.02473867870867252...
<p>I have some very high dimensional data, and performing Locally Linear Embedding (LLE) is very time consuming. I also have to perform several LLEs, with varying parameters, to compute the optimal number of neighbors via Spearman's Rho (a la Karbauskaite et al, <i>see</i> citation).</p> <p>However, the data are highl...
g18678
[ 0.04886965453624725, -0.03565617650747299, -0.0040866537019610405, -0.05158523842692375, -0.04973388463258743, -0.014891796745359898, 0.08397411555051804, 0.03318994492292404, -0.05881013348698616, -0.01543931383639574, 0.015363018028438091, 0.016381708905100822, 0.02744896523654461, 0.003...
<p>Suppose you are trying to predict height ($y$) based on age ($x$). A straight linear regression won’t work well, since humans stop growing at a certain age. This suggests instead trying to model height as something like:</p> <p>$y = w\cdot \mathrm{squash}(x, a, b) + w_0$</p> <p>where </p> <p>$\mathrm{squash}(x,a,...
g18679
[ 0.05424518138170242, -0.027179302647709846, -0.017245376482605934, -0.0023798588663339615, -0.05203471705317497, -0.02965194545686245, 0.03685181215405464, -0.018566209822893143, -0.02880803681910038, -0.015135915949940681, -0.05715983361005783, 0.012273605912923813, 0.0605887845158577, 0....
<p>When people implement permutation tests to compare a single sample against a mean (e.g., as you might do with a permutation t-test), how is the mean handled? I have seen implementations that take a mean and a sample for a permutation test, but it is unclear what they're actually doing under the hood. Is there even...
g3870
[ -0.03739818185567856, -0.0258750282227993, 0.012914351187646389, -0.08480001986026764, 0.021802041679620743, -0.05460554361343384, -0.020386701449751854, 0.016695665195584297, -0.027500467374920845, -0.02620772458612919, 0.027378201484680176, -0.003604588331654668, -0.0017352959839627147, ...
<p>I'm implementing the HMM algorithms described in Rabiner's tutorial. But there is several issues to considered when we apply HMM for real problems. One of this problems is how to consider new observations that hasn't emission probabilities. Anyone knows a way of considering a distribuition for new observations? I be...
g61897
[ -0.004139383789151907, -0.03787858784198761, 0.004520884715020657, 0.014626538380980492, -0.02729037217795849, -0.015605461783707142, 0.0069693950936198235, 0.04095688462257385, -0.024084027856588364, -0.06242600083351135, 0.0017707102233543992, -0.014412548393011093, 0.08241290599107742, ...
<p>I am trying to write a tool which involves implementing logistic regression. With the batch gradient descent method, the convergence is guaranteed as it is a convex problem. However, I find that with the stochastic gradient decent method typically converges to some random points (i.e., not very close to the minimum...
g18683
[ 0.010922176763415337, -0.050204504281282425, 0.019867200404405594, 0.06234109774231911, 0.012500843033194542, -0.0025022835470736027, 0.0038327081128954887, 0.024786341935396194, -0.07868050038814545, -0.011487136594951153, -0.009697359055280685, 0.04372755065560341, 0.05622010678052902, 0...
<p>If I have 3 variables, $X$, $Y$ and $Z$, what statistical approach might I use to ask the question "is in population X correlated with $Y$ but is uncorrelated with $Z$"?</p> <p>Obviously, I can assess if $X$ is correlated with $Y$ and separately if $X$ is correlated with $Z$ and have two p-values:</p> <pre><code>p...
g18686
[ 0.03455579653382301, -0.03871488943696022, 0.009208106435835361, -0.0029492755420506, 0.008686559274792671, 0.0154749546200037, 0.03177003934979439, -0.011012749746441841, 0.004453819245100021, -0.011367881670594215, 0.03608286753296852, 0.014870517887175083, 0.004458533599972725, 0.060906...
<p>Let us say that we have an event - variable (1/ 0) that denotes the occurence of an event on a daily basis e.g. a strike. Let us now say that we have a continuous variable (sales) that that we want to forecast. The interval on which the variable is measured is monthly. We want to incorporate the event variable in a ...
g45534
[ 0.024344637989997864, -0.02772434428334236, -0.019872497767210007, -0.018051886931061745, -0.001703900983557105, -0.0015765363350510597, 0.02699791081249714, 0.028526093810796738, -0.017850948497653008, -0.06191647797822952, 0.023460566997528076, 0.023328082635998726, 0.026636343449354172, ...
<p>I am applying Neural network and SVM to predict buy-hold - sell signals. I have trained nn and SVM in R. I used nnet function to train NN and svm to train SVM. I provided 20,000 data points to train and 2000 data points to test. training data set contain list of 10-15 technical indciators and buy-sell-hold signals. ...
g18688
[ -0.029138050973415375, 0.010682351887226105, 0.014547077007591724, 0.048609841614961624, 0.025123639032244682, -0.046740978956222534, 0.035742007195949554, 0.056277573108673096, -0.02122308686375618, 0.0034591436851769686, 0.01345756184309721, 0.04180490970611572, -0.013124262914061546, -0...
<p><strong>How does the formula for the <code>lmer</code> function work?</strong></p> <p>Some examples:</p> <pre><code>library('lmer') lmer(Yield~(1|Batch),Dyestuff) lmer(Yield~(Batch)*(1|rep(c(1,2,3),10)),Dyestuff) lmer(Reaction ~ Days + (1|Subject) + (0+Days|Subject), sleepstudy) </code></pre> <p>On the left of <c...
g49628
[ -0.053060710430145264, -0.06420407444238663, -0.021071704104542732, -0.04569053277373314, -0.006892800331115723, -0.008545057848095894, 0.05130886659026146, 0.03717977926135063, 0.005981572903692722, -0.08422056585550308, -0.02986459620296955, 0.042113520205020905, 0.041677314788103104, 0....
<p>I just got a rejection from an economics journal. Among the reasons cited for rejection were:</p> <blockquote> <p>the benefits of using the semi-parametric method are not clearly brought out compared to alternative simpler techniques with clean identification of causal relationships</p> </blockquote> <p>It ...
g61898
[ 0.043666303157806396, -0.07034265995025635, -0.009633272886276245, -0.043695468455553055, 0.006758938543498516, -0.03616757690906525, 0.11857157945632935, 0.0039167688228189945, 0.00007379292219411582, 0.0348324216902256, -0.011083775199949741, 0.02790353260934353, 0.021717077121138573, 0....
<p>I am trying to get a grasp on how to use machine learning to predict financial timeseries 1 or more steps into the future.</p> <p>I have a financial timeseries with some descriptive data and I would like to form a model and then use the model to predict n-steps ahead.</p> <p>What I have been doing so far is:</p> ...
g61899
[ -0.0011270385002717376, -0.00008082985004875809, 0.009972392581403255, -0.033009156584739685, -0.04536603018641472, -0.005944616626948118, 0.022340597584843636, 0.03690456971526146, -0.058372922241687775, -0.03567926213145256, 0.032008279114961624, 0.022717077285051346, 0.07077019661664963, ...
<p>Good evening everyone,</p> <p>I'm faced with another question which I can't seem to be able to find a solution online. Thought I get some directions and advice here.</p> <p>I have the following distribution, which represents the case of the number of events that happen in a single day.</p> <ul> <li>When (x=0), P(...
g61900
[ 0.027554718777537346, 0.0028167027048766613, -0.00899052619934082, -0.012587090022861958, -0.018092967569828033, 0.0026435693725943565, 0.005588934291154146, 0.03398505225777626, 0.030428946018218994, -0.06727264821529388, -0.006284665782004595, -0.01807684451341629, 0.03333612531423569, -...
<p>I have a uniform distribution that generates from the $\mathbb{Z}_q$ (so I have integers from the interval [$-q/2$, $q/2$). Then I subtract one from the other and take the result modulo $q$ (so again I have an integer from the interval above). </p> <p>How to prove (or disprove) that the resulting distribution remai...
g61901
[ 0.024482522159814835, -0.010003045201301575, -0.012068642303347588, -0.03711604326963425, 0.01611355133354664, 0.01310011651366949, -0.002105383900925517, -0.01014696154743433, 0.030478816479444504, -0.029533231630921364, -0.0740794762969017, 0.019446294754743576, 0.013358363881707191, -0....
<p>In statistical hypothesis testing we decide on and <em>set</em> the acceptable probability of error or <strong>significance level</strong> α (alpha) to a value that fits our theory. Traditionally alpha is .1, .05, or .01.</p> <p>When we <em>calculate</em> the power function g of the parameter we test for, we reciev...
g61902
[ 0.044282011687755585, -0.013006487861275673, -0.011926788836717606, 0.021185431629419327, 0.049930669367313385, 0.00750098517164588, 0.0129171721637249, 0.018529681488871574, -0.07548006623983383, -0.005796756129711866, 0.003699940163642168, 0.0036362288519740105, 0.06539948284626007, 0.02...
<p>Is there a software or a R package that does a simulation of spatial distribution of alleles? I'm interested in how a distribution of alleles of functional loci is shaped by a pattern of environmental variables, such as temperatures and water quality.</p> <p>I have data on geographical patterns of environmental var...
g61903
[ 0.01689130626618862, -0.05087348446249962, 0.015867283567786217, -0.024598196148872375, -0.07727427035570145, 0.014002648182213306, 0.003804245498031378, 0.017184201627969742, -0.02501278556883335, -0.036542389541864395, 0.038939833641052246, 0.009998632594943047, 0.058730948716402054, -0....
<p>I have recently begun to analyse data from a survey where participants rated 64 images of models on a Likert scale and then selected whether they consider the model in-group or out-group. </p> <p>I am trying to discern whether the fact that participants consider the model in-group or out-group has an impact on the ...
g61904
[ -0.04094040021300316, 0.030680181458592415, -0.006953617092221975, -0.03760185092687607, 0.018215985968708992, -0.02015055902302265, 0.02191796898841858, 0.0007798420847393572, -0.0350690595805645, 0.008032027631998062, 0.05537862703204155, 0.030417729169130325, 0.04492950066924095, 0.0513...
<p>I always have a hard time explaining statistical techniques to audience with no statistical background. If I wanted to explain what GLM is to such audience (without throwing out statistical jargon), what would be the best or most effective way?</p> <p>I usually explain GLM with three parts -- (1) the random compone...
g48636
[ 0.029710838571190834, 0.025529060512781143, -0.003562396392226219, -0.02419602870941162, 0.002201699884608388, -0.0006642236257903278, 0.03484301269054413, -0.0016166457207873464, 0.0028188100550323725, -0.05021362751722336, 0.0479724146425724, -0.02041354961693287, 0.06024116277694702, -0...
<p>I have a couple things to add together- two different pools of material, and I need to know the total material. Because of various things related to the sampling, I would like to bootstrap the sampling data from each pool. So I generate a list of 100 masses for one pool, and 50 masses for the second pool. Plus, I...
g61905
[ -0.01720978505909443, 0.008201519027352333, 0.007851650938391685, -0.018412930890917778, 0.01737096533179283, 0.019514167681336403, -0.005941230338066816, -0.04359631612896919, -0.09981812536716461, -0.04122690483927727, -0.01215952355414629, -0.01855376362800598, 0.061546217650175095, -0....
<p>I have experimental data of response times that differ according to the factor <code>TrialType</code>: <code>Regular</code> or <code>Random</code>. I also have two groups, <code>A</code> and <code>B</code>, which I expect to behave the same (they were created for counterbalancing purposes). </p> <p>I want to test t...
g61906
[ 0.011561752296984196, -0.016448717564344406, -0.008674235083162785, -0.07950883358716965, 0.060894422233104706, -0.011485555209219456, 0.03160850703716278, -0.01973288133740425, 0.004791604820638895, -0.0118882916867733, 0.02851647324860096, 0.07516693323850632, -0.03563179820775986, 0.018...
<p>The traditional approach to variable selection is to find variables that contribute the most to predicting a new response. Recently I learned of an alternative to this. In modeling variables that determine the effect of a treatment--as for example in a clinical trial of a pharmaceutical--the variable is said to be...
g18695
[ 0.015881268307566643, -0.04589617997407913, 0.019088273867964745, -0.0076012336649000645, 0.03276569023728371, -0.04139214754104614, -0.021343521773815155, -0.04687029868364334, 0.002865011338144541, 0.018022894859313965, 0.05462414771318436, 0.0020881302189081907, 0.04874589294195175, 0.0...
<p>As a beginner statistician, discussing the need to be accurate with the interpretation of statistical results with non-statistician is not an easy task. In particular, I am trying to convince some colleagues not to dive into the common mis-interpretation of confidence-interval (maybe I should not?).</p> <p>For some...
g61907
[ 0.04527435451745987, 0.016938695684075356, -0.004378213081508875, -0.005338103510439396, -0.00815072376281023, 0.03727780655026436, 0.05417022854089737, 0.033670686185359955, -0.02049175091087818, 0.011497187428176403, 0.06148064136505127, 0.006397784221917391, 0.0017959283431991935, -0.01...
<p>How to incorporate costs (into logit model) of false positive, false negative, true positive, true negative responses, if they are different costs ? Is it possible to do that on the level of likelihood function ?</p> <p>Edition : I see know that likeligooe function could be quite easily modified to incorporate cost...
g48639
[ -0.03570956736803055, -0.01842094026505947, 0.0008316210005432367, 0.0001101155357901007, 0.024498092010617256, -0.008883434347808361, -0.008304337039589882, -0.01683766581118107, -0.023334667086601257, 0.04254310950636864, -0.056554682552814484, 0.011828050017356873, 0.04376228153705597, ...
<p>I have a large collection of time series - measurements taken every 15 minutes (96 measurements in a day) over the span of 1 year at various different locations.</p> <p>I've broken up each time series into 365 separate smaller time series, 1 for each day of the year. Looking at these time series, there are certain...
g61908
[ 0.03770570084452629, 0.01536563690751791, -0.011200577951967716, -0.04354717582464218, -0.009770287200808525, -0.049999404698610306, 0.06213310733437538, -0.017560245469212532, 0.011011403985321522, 0.018040576949715614, 0.04485976696014404, -0.05737927183508873, 0.0992075502872467, 0.0112...
<p>I need to calculate the coefficient of the Kolmogorov-Smirnov test for any given null hypothesis rejection level. </p> <p>For example, have a look at the table <a href="http://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test#Two-sample_Kolmogorov.E2.80.93Smirnov_test" rel="nofollow">in this wikipedia entry</a>...
g61909
[ 0.0022022929042577744, 0.010593530721962452, -0.019385190680623055, -0.029629269614815712, -0.01675114594399929, -0.012874826788902283, 0.03819303214550018, 0.08653319627046585, -0.006706931162625551, -0.004256343934684992, -0.04521087557077408, 0.008508197031915188, 0.05481484904885292, 0...
<p>When people say that lasso regression can under certain assumptions recover "the support", i.e. non-zero regression weights, what does this mean?</p> <p>This cannot mean <em>causal</em> recovery, because Pearl has taught us you cannot infer causality from correlation (and lasso is just glorified correlation). So ar...
g18701
[ 0.11206664144992828, -0.020044170320034027, 0.007569457869976759, -0.00437287800014019, 0.061160750687122345, 0.015786511823534966, 0.03462754189968109, 0.038021381944417953, -0.0023330869153141975, -0.08756302297115326, -0.009208773262798786, 0.011609268374741077, 0.02008337900042534, -0....
<p>How can I investigate the sensitivity of a regression model to noise?</p> <p>A basic idea is to add some (Gaussian) noise to the dependent and/or independent variables and (re)evaluate the RMSE. </p> <p>However, the problem with this approach is, that one is mostly interested in modeling the true data, and not the...
g61910
[ -0.01685679517686367, -0.06682410091161728, -0.017154082655906677, -0.02771228738129139, -0.002186214318498969, 0.013416088186204433, 0.0023692920804023743, 0.0608765184879303, -0.020533515140414238, -0.00378538784570992, -0.01881706528365612, 0.05261065810918808, 0.05380501598119736, 0.04...
<p>I have the following kind of data (coded in R):</p> <pre><code>v.a = c('cat', 'dog', 'dog', 'goat', 'cat', 'goat', 'dog', 'dog') v.b = c(1, 2, 1, 2, 1, 2, 1, 2) v.c = c('blue', 'red', 'blue', 'red', 'red', 'blue', 'yellow', 'yellow') set.seed(12) v.d = rnorm(8) aov(v.a ~ v.b + v.c + v.d) # Error </code></pre> <p>I...
g61911
[ -0.02186097577214241, -0.027679231017827988, 0.0014707022346556187, -0.0644514411687851, 0.019769810140132904, -0.026965275406837463, 0.014329303056001663, 0.0016329064965248108, -0.040409717708826065, -0.0075233676470816135, 0.0012391029158607125, 0.05768155679106712, 0.05007462948560715, ...
<p>I was wondering whether my reasoning is correct and whether I've written it down correctly:</p> <p>Given the following equation $bread_i=\beta_{0} + \beta_{1}wage + u_{t}$, where $u_{t}$ is normally distributed with a mean of zero and a variancce of $\sigma^{2}$ and is independent of $wage$.</p> <p>Furthermore we ...
g18702
[ 0.027941793203353882, -0.02243020385503769, -0.008789081126451492, -0.005233173258602619, 0.05353756994009018, -0.051193494349718094, 0.0730622187256813, 0.013971514068543911, -0.057335253804922104, 0.003687426680698991, -0.0936894565820694, 0.06849965453147888, -0.013577324338257313, 0.01...
<p>I use a neural network with a topology of 17-30-1 (sigmoid, atan error function, mse as cost function, 5-fold cv) for text classification. (It's closely related to a previous question <a href="http://stats.stackexchange.com/questions/22189/how-to-interpret-poor-performance-when-using-neural-network">of mine.</a>)</p...
g61912
[ -0.003609397215768695, -0.041657302528619766, 0.006567966192960739, -0.011360683478415012, 0.05273819342255592, -0.0669989287853241, 0.0855717808008194, 0.05372050404548645, -0.013705466873943806, -0.009142614901065826, 0.017775554209947586, 0.014945138245821, 0.037573982030153275, 0.01299...
<p>I have completed analysis on the effects of two drug treatments over a period of time on the CD4 cell count of a number of patients. I have taken the square root of the initial CD4 count as a covariate and I have taken a summary measure of the 'slopes' for each patient. </p> <p>My model is the following:</p> <pre>...
g61913
[ -0.019519496709108353, -0.03724362701177597, -0.024700181558728218, -0.031842779368162155, 0.026608601212501526, -0.00017794495215639472, 0.07389576733112335, 0.026208508759737015, -0.03696069121360779, 0.003348467405885458, -0.0023361006751656532, 0.042088232934474945, 0.036010853946208954,...
<p>I'm trying to figure out the distribution over a number of trials until a stopping condition is met. In particular, imagine we are observing samples of a uniformly distributed random variable, $X \in \{a,a+1,...,b\}$. We continue to observe samples until the sum of these numbers passes some threshold $Z$ then we sto...
g61914
[ -0.015055444091558456, 0.043835241347551346, -0.0245343204587698, -0.00650648633018136, -0.029678000137209892, -0.028790047392249107, 0.058788374066352844, 0.013985410332679749, -0.023340819403529167, -0.0175683181732893, -0.015876490622758865, 0.04229879379272461, -0.015559433959424496, 0...
<p>Given survival analysis relates to an analysis/prediction of time to an event, I was wondering if it was possible to be used to predict eathquakes. If so, how would one go about carrying out that analysis on say one particular region say Japan or California?</p> <p>So I guess a question related to that say...for ex...
g61915
[ 0.005437670275568962, -0.006541654467582703, 0.016358429566025734, -0.006344239693135023, -0.019883686676621437, -0.02497127093374729, 0.02469245158135891, 0.03829216584563255, -0.005742317996919155, 0.011126828379929066, 0.014119184575974941, -0.02496650628745556, 0.08300669491291046, -0....
<p>$Y^n$ are the observations of our HMM, where $Y_i=a_i$ is a single observation, where $a_i \epsilon \{0,1\}$. For example, $Y^n = k^n$ where $k^n=\{0,1,1,0\}$</p> <p>$X^n$ are the actual states of our HMM, of which we know some (any) $X_i$.</p> <p>How can I both 1.intuitively and 2.carefully (using actual math) re...
g61916
[ 0.015536201186478138, 0.026107201352715492, 0.00893219280987978, 0.05162792652845383, 0.0018465907778590918, -0.05791587010025978, -0.01228147093206644, 0.07320684939622879, 0.02093573473393917, -0.022610759362578392, -0.040375445038080215, 0.028418101370334625, 0.04157065227627754, 0.0804...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/11009/including-the-interaction-but-not-the-main-effects-in-a-model">Including the interaction but not the main effects in a model</a> </p> </blockquote> <p>I have an experimental design with pretest and p...
g49299
[ -0.01323764119297266, -0.006294209975749254, 0.010510067455470562, -0.0246753953397274, 0.017556212842464447, -0.021552450954914093, 0.043554410338401794, -0.004304163157939911, -0.02008436620235443, 0.027526171877980232, -0.005166835151612759, 0.015584763139486313, -0.007844323292374611, ...
<p>I estimated a nonlinear exponential $f(t)=\alpha-(\alpha-\beta)*\exp(-\gamma*t)$ random effects model in <code>R</code>. I estimated the same model form using the identical data set but with <code>nlme()</code> from the <code>nlme</code> library and <code>nlmer()</code> from the <code>lme4</code> library.</p> <p>Th...
g61917
[ -0.03281741589307785, -0.06908099353313446, -0.017112769186496735, -0.008905080147087574, 0.04444032534956932, 0.03588378056883812, 0.03519705682992935, 0.0041446564719080925, -0.06614426523447037, -0.015319445170462132, -0.005857606418430805, 0.004072578623890877, -0.004131664056330919, 0...
<p>I am trying to perform an regression analysis where the response variable is ordinal and the 15 out of the 16 predicting variables are also ordinal. Besides treating all these ordinal predictors as factors, is there any other option? What is the best way to treat these ordinal predictors? Thank you.</p>
g18711
[ 0.025738496333360672, -0.05629418045282364, -0.008866045624017715, -0.08056683093309402, 0.03374774008989334, -0.07800629734992981, 0.009146369062364101, 0.0011835392797365785, 0.006189864594489336, -0.04295767471194267, 0.07030477374792099, 0.025954337790608406, 0.026971565559506416, 0.00...
<p>I'm attempting to estimate the effect of 2 drugs (<code>drug1</code>, <code>drug2</code>) on the likelihood of a patient falling (<code>event</code>). The patients can fall more than once and can be put on or taken off of the the drugs at any point. </p> <p>My question is how the data should be structured with re...
g942
[ -0.0004684821469709277, -0.07428032159805298, -0.011877281591296196, -0.018251657485961914, 0.028592858463525772, 0.00044508877908810973, 0.06823637336492538, -0.010962391272187233, -0.03352963551878929, -0.016977183520793915, 0.044598594307899475, 0.00854623131453991, 0.04874516651034355, ...
<p>I've a frame containing</p> <blockquote> <p>Participant----Condition----Duration<br> Participant1,One,2000<br> Participant1,One,2780<br> Participant1,One,200<br> Participant2,Two,2000<br> Participant2,Two,2340<br> Participant2,Two,2120<br> Participant2,Two,2420<br> Participant2,Two,2990<br> Part...
g61918
[ -0.02331358753144741, -0.0038547588046640158, -0.011938810348510742, -0.1043061912059784, -0.05375426262617111, -0.049080196768045425, 0.02688157558441162, -0.01787177287042141, -0.03418971598148346, -0.0017465464770793915, 0.027136344462633133, -0.0011831691954284906, 0.01199702825397253, ...
<p>I am not clear how to compare all the tests in Unit Root. Which one is the most powerful among:</p> <ul> <li>ADF</li> <li>PP</li> <li>KPSS</li> <li>Elliott, Rothenberg &amp; Stock Unit Root Test</li> </ul>
g61919
[ 0.03266290947794914, 0.020283376798033714, -0.007472545839846134, 0.0193730928003788, 0.055086977779865265, -0.05917470529675484, 0.004451589658856392, -0.001791299437172711, 0.04142371565103531, 0.01738850586116314, 0.057897549122571945, 0.04225654900074005, -0.021943718194961548, 0.00822...
<p>I have a logistic regression model (fit via glmnet in R with elastic net regularization), and I would like to maximize the difference between true positives and false positives. In order to do this, the following procedure came to mind:</p> <ol> <li>Fit standard logistic regression model</li> <li>Using prediction ...
g61920
[ -0.00046916952123865485, -0.05705813318490982, 0.00611677672713995, 0.012229169718921185, 0.004986894782632589, -0.040070515125989914, 0.028387384489178658, 0.06462789326906204, -0.039620112627744675, -0.00043638216448016465, -0.0019700147677212954, -0.015628231689333916, 0.0634753555059433,...
<p>I have this question to answer for a class and am completely stumped. </p> <p>"The GLM log link and a dummy variable for gender (1=male, 0=female) has gender estimate 0.308. The SE is 0.038 assuming a Poisson distribution and 0.127 assuming a negative binomial model. Why are the SE values so different?" </p> <p>A...
g61921
[ 0.007624172605574131, 0.009138667955994606, 0.0001838774624047801, -0.01987820863723755, 0.013003945350646973, 0.02935255877673626, -0.013952314853668213, -0.03340940177440643, -0.06626279652118683, -0.019253170117735863, -0.03913229703903198, 0.020907457917928696, 0.011416211724281311, -0...
<p>Hi I need to prove that $X^T$e = 0 where e is the residual in multiple linear regression model in matrix algebra?</p> <p>Need some guidance on how to do it... Is there any good pdf for the proofs for multiple linear regression model for matrix alegbra?</p>
g18716
[ 0.029194675385951996, -0.04704158753156662, 0.008030286990106106, 0.012211853638291359, -0.014178181998431683, -0.023955175653100014, 0.0031388024799525738, 0.05964624509215355, -0.027713915333151817, 0.05731373280286789, 0.005821372848004103, 0.039642252027988434, 0.037870511412620544, -0...
<p>I understand intuitively why this is a horrible idea - you assume your model is correct and then increase your number of observations which will likely result in a poor fit on future data.</p> <p>I'm wondering if there is some mathematical/statistical property to describe this, or if there is any rare case where th...
g579
[ 0.02987467683851719, 0.07547713071107864, -0.008556528016924858, -0.012156091630458832, 0.04194518178701401, -0.0031571811996400356, -0.004132881760597229, 0.019937684759497643, -0.027638597413897514, -0.03559676557779312, 0.020327584818005562, -0.017772601917386055, 0.07610831409692764, 0...
<p>I have two frequency distributions; which each are frequency of an event. I would like to compare these distributions, and conclude that these events and conclude if these events are statistically 1 event or they are two distinct events. however, it seems the size of these distributions are playing an important role...
g61922
[ 0.022951092571020126, 0.01982366107404232, 0.007219862658530474, -0.01385216973721981, -0.009802702814340591, -0.044375404715538025, -0.0017050427850335836, 0.008792984299361706, -0.03532577306032181, -0.02966056391596794, 0.045009318739175797, -0.03525916859507561, 0.03700493276119232, 0....
<p>Suppose $Y_1,\dots,Y_n\mid\mu,\sigma^2 \sim \text{ iid } N(\mu,\sigma^2)$ and suppose the priors $\mu \mid \sigma^2 \sim N(\mu_0, \sigma^2 / \kappa_0)$ and $1/\sigma^2 \sim \text{gamma}(\nu_0/2, \nu_0 \sigma_0^2 / 2)$ are placed on the unknown parameters. Then \begin{align*} p(\sigma^2 \mid y_1,\dots,y_n) &amp;\prop...
g61923
[ 0.010462218895554543, -0.042258501052856445, 0.001076912390999496, -0.0693858414888382, 0.020589129999279976, 0.019755840301513672, 0.035147614777088165, -0.02155282534658909, -0.015116425231099129, 0.009620413184165955, 0.026903050020337105, 0.08060230314731598, -0.009841552935540676, 0.0...