question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>To use the scores of the extracted components/factors in a further regression analysis, like mixed effects model regression as predictors to an outcome variable or DV. Would be there any discrepancies in the results coming out of the regression analysis when using scores of the following scenarios (<code>psych</code...
g16703
[ 0.013028493151068687, -0.09411832690238953, 0.022199448198080063, -0.04375014081597328, 0.009867805056273937, -0.052633870393037796, 0.049454301595687866, 0.0028657149523496628, 0.02548014186322689, 0.005874833092093468, 0.024441378191113472, 0.010805211029946804, -0.02036937326192856, -0....
<p>I have a large dataset of 34 variables and I run PCA on it. I want to use the first, say, 5 principal components to "predict" (or estimate or approximate) an arbitrary linear combination of the original 34 variables. For example, I can simulate the 5-variate uncorrelated time series of these five components which I ...
g16704
[ -0.00040008503128774464, 0.004965158645063639, -0.0011140432907268405, -0.09038466215133667, -0.0594964399933815, -0.05343357473611832, 0.04864424839615822, -0.012111535295844078, -0.07499764114618301, 0.03596730902791023, 0.0007750961813144386, 0.03220241889357567, -0.023552240803837776, ...
<p>A friend of mine asked me on how to do it in excel, and after playing with it a bit (and googling it) I gave up.</p> <p>Does any one have a suggestion on how it might be done?</p>
g41336
[ 0.025087784975767136, -0.010107244364917278, 0.004535629879683256, 0.0034468837548047304, 0.012271140702068806, -0.04611162096261978, -0.006134219001978636, 0.0336320586502552, -0.03830006346106529, -0.0364166796207428, -0.0011056388029828668, 0.03263423591852188, 0.06497859954833984, -0.0...
<p>If I consider a data X, I want to fit a distribution Y which has a density f(x) but It's not possible to express the moments of Y as function of the parameters. </p> <p>My problem is : </p> <p>1- to estimate the parameter of my distribution using GMM estimator. I know that GMM work if we have the analytically expr...
g22965
[ 0.012192754074931145, -0.02227560058236122, -0.0034052166156470776, -0.02766021341085434, 0.009735168889164925, -0.0037438918370753527, 0.0024821835104376078, -0.023598438128829002, -0.09729579091072083, 0.027141118422150612, -0.0006166899111121893, -0.03785417601466179, 0.045731641352176666...
<p>I'm trying to implement logNormal distribution into my java program because lognormal dist doesn't exist into apache commons math library.</p> <p>I have no problem to re-write density and cumulative probability function, extending abstract classes of apache commons math library, like this : </p> <pre><code> public...
g560
[ -0.00002867144394258503, -0.013875485397875309, 0.021074628457427025, -0.062418729066848755, -0.02706950157880783, 0.009981748647987843, 0.01970749907195568, -0.009380397386848927, -0.03480003401637077, -0.04133220762014389, -0.00341301248408854, 0.04092821106314659, 0.0612105056643486, -0...
<p>I'm trying to create a multiple linear regression with water temperature change as my response variable and four numeric explanatory variables (that influence temperature change). Each numeric variable was recorded prior to the temperature change (e.g. amount of ice added into the water).</p> <p>My problem is that ...
g60549
[ 0.0272399690002203, -0.05058702081441879, -0.000157975111505948, -0.04313927888870239, -0.0519728846848011, -0.00968120526522398, 0.0462915413081646, 0.020486565306782722, -0.02213970199227333, -0.03863783925771713, -0.012944286689162254, 0.038811907172203064, 0.014431729912757874, 0.05638...
<p>The Suanshu Statistics Library supports the "Kolmogorov-Smirnov two-sample test" by rejecting the null hypothesis if $p$-value if smaller than significance level $\alpha$ (e.g., $p&lt;0.05$).</p> <p>My question is whether there is any method to check if the "test statistic" exceeds the critical value (for $\alpha ...
g46289
[ 0.03835075721144676, -0.018221883103251457, 0.020168835297226906, -0.00008200614684028551, -0.04164782911539078, 0.012631415389478207, -0.01267490815371275, 0.06953845173120499, -0.014885971322655678, -0.00893755629658699, 0.06074695661664009, 0.00042944742017425597, 0.06434466689825058, 0...
<p>Consider bivariate data consisting of correlated variables (r ~ 0.9). It is known how both the variables are calculated. Each observation is identically distributed but <strong>non independent</strong>. Also, the dataset is fairly skewed in nature. </p> <p>Given this information, i'm interested in isolating observa...
g16707
[ -0.015074217692017555, -0.05766685679554939, 0.008901944383978844, -0.04576390981674194, -0.06686792522668839, -0.00023239226720761508, -0.022170398384332657, 0.017967937514185905, -0.006619995925575495, -0.0104509387165308, -0.0016902451170608401, 0.029706621542572975, 0.010848614387214184,...
<p>I have posted a similar question about the same problem, having been suggested to use a polynomial Robust Linear Model, which worked fine for most cases, as can be seen here:</p> <p><a href="http://stats.stackexchange.com/questions/43086/non-algebric-curve-fitting-along-weighted-pointcloud-if-possible-using-python"...
g46290
[ 0.040884897112846375, -0.013634919188916683, 0.00895466934889555, -0.0676211267709732, 0.0016846628859639168, 0.0021057380363345146, 0.07970720529556274, -0.039379216730594635, -0.048713456839323044, -0.038859594613313675, 0.01724938675761223, 0.04487200453877449, 0.004510689526796341, 0.0...
<p>I just found "Robust Fitting of Linear Models" rlm() function in the MASS library.</p> <p>I would like to know what is the difference between this function and the standard lm() (linear regression).</p> <p>Could someone give me a short explanation?</p> <p>Thank you</p>
g16710
[ 0.052490413188934326, -0.11222170293331146, -0.013234848156571388, 0.0009828751208260655, 0.01533955056220293, 0.012865690514445305, 0.020197592675685883, 0.007645087316632271, -0.04642997309565544, -0.04254784807562828, -0.022805090993642807, -0.02084450051188469, 0.06798826903104782, -0....
<p>Suppose that we want to test the hypothesis that the proportion of blue-eyed martians has been decreasing throughout the 20th century. Unfortunately, the Martian population fluctuates highly, so every decade there is large difference in the total population [update: consider the Martian population to be constant at ...
g60550
[ 0.01149785052984953, 0.01765362359583378, 0.004546275828033686, -0.05596397444605827, -0.006388126406818628, 0.026768222451210022, 0.03227214142680168, -0.0024017856922000647, -0.04228711873292923, -0.007516787387430668, 0.05714522674679756, 0.01090868841856718, 0.06464803218841553, 0.0660...
<p>I would like to model intraday data of energy load. The data show strong seasonality within the day (which is clear and well known) and a different pattern on weekdays and weekends. I use the time series packages of R (package ts and then a decomposition in seasonality, level and trend). I get good results when I ju...
g60551
[ -0.021909914910793304, -0.04501449689269066, -0.016500333324074745, -0.04332598298788071, -0.053021520376205444, -0.061388157308101654, 0.024013221263885498, 0.0141375083476305, -0.049152690917253494, -0.029099615290760994, 0.025221290066838264, -0.04658808559179306, 0.06282521039247513, -...
<p>I was testing the cross sectional independence test using <code>Pesaran CD</code> test in <code>stata 10</code> for the panel data using the <code>N=50 and T=18</code>. After running the fixed effect with time dummies (effects), I got a negative value for the test with the <code>p</code> value >1 (which is not possi...
g60552
[ 0.0012634150916710496, -0.03757791593670845, 0.0038552030455321074, -0.021966993808746338, -0.007668944075703621, 0.01046945620328188, 0.07840530574321747, 0.02278454415500164, -0.01884080097079277, 0.023304488509893417, 0.027942515909671783, 0.050176363438367844, -0.0034944922663271427, -...
<p>In case you want to compare the average income of a group of male employees against the average income of a group of female employees, the observations are clearly independent.</p> <p>Now, I have a network of a certain number of nodes. These nodes are linked by edges and I can characterize each node by the number o...
g109
[ 0.02062949724495411, 0.009217394515872002, -0.0007242595311254263, -0.0425255224108696, 0.03321636840701103, -0.03436805307865143, -0.005440182518213987, -0.013600663281977177, -0.004711336921900511, -0.02456747740507126, 0.04691827669739723, 0.05945518985390663, -0.028962353244423866, 0.0...
<p>Apology for posting almost one question daily. I am trying to learn some aspects of Statistical Machine learning, so every day many questions coming and if I am not finding answer in my offline peer community, I am trying to ask to you. </p> <p>You answer so nicely it encourages people like me to ask. </p> <p>I wa...
g60553
[ -0.0007632485940121114, -0.02385527268052101, 0.022854521870613098, -0.0016542510129511356, 0.011033698916435242, -0.05904584005475044, -0.002122351434081793, 0.0118755167350173, -0.05784449726343155, -0.05009976401925087, 0.016339199617505074, 0.04414529353380203, 0.06743869185447693, 0.0...
<p>I'm trying to compare some data and see if there is a significant P<sub>interaction</sub> value between them. The data is highly skewed and thus I would like to use a transformation; a log transformation results in highly non-normal residuals, thus I am looking for a more appropriate transformation, if it exists. I...
g16716
[ -0.02204248681664467, -0.0160780418664217, 0.008658220060169697, -0.03455878794193268, 0.005420835223048925, -0.030127400532364845, -0.06330155581235886, 0.026315635070204735, -0.08495355397462845, -0.045446377247571945, -0.023692309856414795, 0.029963204637169838, 0.054413098841905594, -0...
<p>Lyapunov's inequality states that A^T*P + P*A &lt; 0. Given a 2X2 A how do I go about representing this as a canonical linear matrix inequality?</p>
g16718
[ 0.007407975848764181, -0.044652242213487625, -0.0032060358207672834, -0.010594341903924942, -0.007361567113548517, -0.001423156587406993, 0.006790202111005783, 0.019573865458369255, -0.02609419822692871, -0.016282539814710617, -0.0025825360789895058, 0.07648560404777527, -0.02398309670388698...
<p>Whenever I run a robust regression model in R with <code>rlm</code> and with either M or MM methods, I get the following error message:</p> <blockquote> <p>Error: 'lqs' failed: all the samples were singular</p> </blockquote> <p>I am not sure what it means and what I can do to bypass this error.</p>
g60554
[ 0.051865868270397186, -0.07081939280033112, 0.022530773654580116, 0.023943839594721794, 0.0040152487345039845, -0.01293479185551405, 0.00910171028226614, 0.007662599440664053, -0.01994675025343895, -0.010910878889262676, -0.0009342817356809974, 0.024233853444457054, 0.05273108929395676, 0....
<p>Suppose I have a function $g\in L_2(\mathbb{R})$, and we observe variables two -vectors $(Y_i,X_i)$ such that $Y_i = g(X_i) + U_i$ for some IID error terms $U_i$. If I want to estimate $g$, I want to use an orthonormal basis of $\mathbb{R}$, which we will call the set $\{e_i\}_{i\geq 0}$. Then we could write $g(x)$ ...
g506
[ -0.003127074334770441, -0.02147662453353405, -0.002185102552175522, -0.10297386348247528, 0.006437461823225021, -0.05309981852769852, 0.052195921540260315, 0.017298778519034386, 0.0022748205810785294, 0.06931738555431366, -0.02329571172595024, 0.045300185680389404, 0.004449913743883371, 0....
<p>This isn't a strictly stats question--I can read all the textbooks about ANOVA assumptions--I'm trying to figure out how actual working analysts handle data that doesn't quite meet the assumptions. I've gone through a lot of questions on this site looking for answers and I keep finding posts about when not to use AN...
g60555
[ 0.03092684969305992, -0.0702245756983757, 0.008049499243497849, -0.027288539335131645, -0.005521844606846571, -0.02739192545413971, 0.024143023416399956, -0.020756173878908157, -0.04515630006790161, 0.033455297350883484, 0.03448394313454628, 0.024708077311515808, -0.003065969329327345, 0.0...
<p>Use MC integration to estimate the probability that X * exp(X) &lt; 2.5, assuming that X ~ Gamma(1.2,3.7)</p> <pre><code>data mcprobdata; /* generate the sample */ call streaminit(23891); count = 0; do i=1 to 2000; p = rand('uniform'); x = quantile('Gamma', p, 1.2, 3.7); count = count + (x*exp(x) &lt; 2...
g49430
[ 0.001527152257040143, 0.00007248469773912802, 0.00657893531024456, -0.05420392379164696, -0.025354063138365746, 0.011586646549403667, 0.05824878811836243, 0.028889436274766922, -0.0721219927072525, -0.010075044818222523, -0.053503815084695816, 0.03770297393202782, -0.001078283996321261, 0....
<p>I am trying to create a stock market model based on fundamental variables for the US economy. I am using R. Some of the variables I am looking to include are: GDP, Unemployment Rate, Initial Claims, etc... Given that some of these indicators have different time frames from weekly to quarterly will I get error messag...
g60556
[ 0.01766057498753071, -0.018544048070907593, -0.006461877841502428, -0.012110114097595215, 0.057756513357162476, -0.026345884427428246, 0.025777542963624, -0.05164061114192009, -0.024647612124681473, 0.0036241067573428154, 0.023851905018091202, 0.0011590495705604553, 0.03322412818670273, 0....
<p>I'm trying to fit a data sample to a distribution. So far I have created a histogram and fitted the data with a lognormal distribution in R and made a Q-Q plot in excel (of log(benefits paid) against theoretical normal quantiles).</p> <p>Here are my histogram and Q-Q plot: <img src="http://i.stack.imgur.com/ZL94H....
g60557
[ 0.023396948352456093, 0.01634095050394535, 0.002762271324172616, -0.07322708517313004, -0.06830611824989319, -0.0019250585464760661, -0.023860856890678406, -0.04451609030365944, -0.057996295392513275, -0.03157457709312439, 0.05048879608511925, -0.012036057189106941, 0.019316425547003746, -...
<p>I am implementing a general purpose prediction tool for time series. I want to tolerate missing values, so I decided to settle for DLMs. To make it as relevant as possible on a large number of datasets, I want it to try several different models and select the best parameters. It would then operate the prediction wit...
g60558
[ 0.02270977757871151, -0.001361834118142724, 0.028815727680921555, -0.020716018974781036, -0.06518624722957611, -0.05694487318396568, 0.01253665890544653, 0.04465359076857567, -0.058563850820064545, -0.017765095457434654, 0.05725985765457153, -0.03464105352759361, 0.06894771009683609, 0.026...
<p>I am wondering how to choose a predictive model after doing K-fold cross-validation. </p> <p>This may be awkwardly phrased, so let me explain in more detail: I understand how K-fold cross-validation works. However, whenever I run K-fold cross-validation, I use K different sets of training data, and end up with K di...
g60559
[ 0.01676221936941147, -0.019188063219189644, 0.04490280896425247, 0.009962969459593296, 0.022167183458805084, -0.0035130116157233715, -0.012056362815201283, 0.04968441650271416, -0.029013624414801598, 0.011137344874441624, 0.02556806243956089, 0.004964182619005442, 0.05267813056707382, -0.0...
<p>I'm trying to determine what constitutes a family of hypotheses when measuring multiple response variables. In particular I have an A/B type test where I'm comparing several marketing campaigns against a baseline campaign.</p> <p>For each campaign I want to measure increase in revenue, clicks, and purchases. What I...
g60560
[ -0.007778373546898365, 0.005536483600735664, -0.020849836990237236, -0.031098537147045135, 0.03973494842648506, -0.034527771174907684, 0.018177490681409836, -0.013391594402492046, 0.0022850497625768185, -0.0358998142182827, 0.0622565858066082, -0.03420059010386467, -0.04452298581600189, 0....
<p>I am finding it strange but what does multivariate laplacian distribution looks like. What is its pdf? I googled for a while but couldn't find a good description. I wasn't paying attention to Laplacian. But all of a sudden when I need it today, I couldn't find the multivariate case.</p>
g46313
[ 0.04648428037762642, -0.014716054312884808, -0.014629095792770386, -0.05066531524062157, -0.05006779357790947, 0.0001488298294134438, 0.017189837992191315, -0.00804382748901844, 0.008255311287939548, 0.010364998131990433, 0.04736008867621422, 0.003319976618513465, 0.04375188425183296, -0.0...
<p>I was wondering what relations and differences are between time-series analysis and statistical signal processing?</p> <p>I found some recommendations of books in time series including some books in statistical signal processing. But I am not sure how these two areas are related and differ?</p> <p>Thanks and regar...
g42706
[ -0.005504288710653782, -0.012527369894087315, 0.023638363927602768, -0.01173730194568634, -0.029283521696925163, -0.034893982112407684, 0.04179944843053818, 0.054622404277324677, -0.03134512901306152, -0.02071254514157772, -0.022071199491620064, -0.0016467986861243844, 0.03185727819800377, ...
<p>This is a pretty general question but, I often find statistical textbooks claiming that, in order to justify the within groups normality assumption of a one way ANOVA, you can look at a QQ plots of the residuals. However, the qq plots can only detect non-normality when the variance (or standard deviation) across all...
g682
[ -0.004569084849208593, -0.02982386387884617, -0.0089002950116992, -0.006370076909661293, -0.0637839064002037, 0.01947728544473648, 0.008706674911081791, -0.01165321096777916, -0.009799857623875141, -0.026577185839414597, 0.030386092141270638, 0.041856128722429276, -0.048515163362026215, 0....
<p>In genomics and computational biology, expression data sets contain a much larger number of features (p) than the number of observations (N). I wanted to simulate data where p>>N to compare the performance of classifier methods (e.g., regularized methods, automatic feature selection methods, and filtering/feature se...
g60561
[ 0.0208648219704628, -0.03162844479084015, 0.009122899733483791, -0.06756237894296646, 0.032810334116220474, 0.004289896227419376, 0.03230419009923935, 0.03353724628686905, -0.05158671736717224, 0.010616729035973549, 0.010726218111813068, 0.030150989070534706, 0.04071858525276184, 0.0103723...
<p>When I prepare data for Bayesian network meta analysis using model published in <a href="http://www.biomedcentral.com/1471-2288/10/54" rel="nofollow">Woods B.S, Hawkins N et al - Network meta-analysis on the log-hazard scale, combining count and hazard ratio statistics accounting for multi-arm trials; A tutorial(201...
g16724
[ 0.005622528027743101, -0.017628364264965057, -0.014055868610739708, -0.012384680099785328, 0.006122175138443708, -0.055936459451913834, 0.02551991306245327, 0.011125588789582253, 0.006185075733810663, 0.01980968378484249, -0.011251640506088734, 0.0038846582174301147, 0.007777635008096695, ...
<p>I am having a hard time finding comparisons between non-parametric and parametric methods, specifically for the task of density estimation (e.g. GMM vs using Dirichlet Processes).</p> <p>More than tractability or running time, I am interested in their statistical performance on general datasets. Are there any known...
g60562
[ 0.005695125553756952, -0.007939162664115429, 0.003907025791704655, -0.007217243313789368, -0.0265855323523283, -0.03354434296488762, 0.034432552754879, -0.042846668511629105, -0.06588876247406006, 0.012959931045770645, 0.012547135353088379, -0.051435183733701706, 0.056733909994363785, 0.01...
<p>We have a dataset with three variables (dV: self-reported measure on scale 1-5, assumed to be metric; iV1: factor with 4 levels; iV2: factor with 8 levels). We are interested whether the dV differs in regard to both iVs and whether there is an interaction between the iVs.</p> <p>Idea: Calculating an ANOVA with both...
g60563
[ 0.01927843503654003, -0.0032157436944544315, -0.014047212898731232, -0.045252908021211624, -0.02581784501671791, -0.03442675247788429, 0.024395344778895378, -0.034792836755514145, 0.01894938386976719, 0.039353251457214355, -0.00358456838876009, 0.01752449758350849, 0.016718383878469467, 0....
<p>A question states: Estimate the mean change in the number of flycatchers killed when the nest box tit occupancy increases by 10%.</p> <p>The slope for this regression is .10766X. Hence, says the answer, take .10766(10) = the mean change. </p> <p>My question is: The reason they are inserting 10 is not because it...
g60564
[ 0.03203229978680611, 0.01608455553650856, 0.000016793241229606792, -0.02872564271092415, 0.08551914244890213, -0.0031882142648100853, 0.052842628210783005, 0.016073353588581085, -0.0530490018427372, -0.0221775621175766, -0.04946313425898552, 0.009838368743658066, 0.036617595702409744, 0.05...
<p>In answering a question about a confidence interval for a binomial proportion I pointed out the fact that the normal approximation is an unreliable method that is archaic. It should not be taught as a method, although there might be an argument that it be included as a part of a lesson about what makes an adequate m...
g42389
[ 0.05828506872057915, -0.016872867941856384, 0.007950352504849434, -0.021577438339591026, -0.04244285076856613, 0.061626143753528595, 0.015083170495927334, 0.023216871544718742, -0.03200865164399147, -0.01311223953962326, 0.0871320515871048, -0.030901074409484863, 0.048348553478717804, -0.0...
<p>Does anybody know how to calculate the maximum likelihood factor loadings from <em>only</em> the correlation (R) matrix and/or covariance (S) matrix in Factor Analysis "by hand" (i.e., by Excel)? Or, even better, point me to a clear explanation with a worked example?</p> <p>I don't have the underlying data, so I c...
g60565
[ 0.003356873756274581, -0.04935581609606743, 0.017640370875597, -0.02301517128944397, -0.0324016809463501, -0.03902697190642357, 0.05338211730122566, 0.06436733901500702, -0.0061584217473864555, 0.015934934839606285, -0.023371465504169464, -0.03214685246348381, 0.07170183211565018, -0.00975...
<p>If we assume we have 2 equations and each equation contains the other dependent variable. </p> <p>$y_1 = \beta_0 + \beta_1 y_2 + \beta_2 z_1 + u_1$</p> <p>$y_2 = \alpha_0 + \alpha_1 y_1 + \alpha_2 z_2 + u_2$</p> <p>For exact identification, we would need two instruments. Let's say these instruments are $z_3$ and ...
g60566
[ -0.008060415275394917, -0.063764289021492, -0.031925905495882034, -0.007498818915337324, 0.07912375777959824, -0.04507908597588539, 0.015357637777924538, 0.006815603002905846, -0.034122247248888016, 0.01399893220514059, -0.04027260094881058, 0.04427758604288101, -0.024777084589004517, 0.02...
<p>When running ridge regression, how do you interpret coefficients that end up larger than their corresponding coefficients under least squares (for certain values of lambda)? Isn't ridge regression supposed to monotonically shrink coefficients?</p> <p>On a related note, how does one interpret a coefficient whose si...
g60567
[ 0.016160719096660614, -0.046514492481946945, 0.009365442208945751, -0.06911545246839523, 0.0698331892490387, -0.047106314450502396, -0.017329473048448563, 0.036382321268320084, 0.008718311786651611, -0.028909510001540184, -0.03963010013103485, 0.055874068289995193, 0.06788547337055206, 0.0...
<p>if you administered a census questionnaire to an entire group of interest ("population") and got a 68% response rate. Is it wrong to calculate confidence intervals for the medians of the data subsets? The data subsets contain outliers and medians were calculated. Tx!</p>
g49591
[ -0.005407442804425955, -0.022954538464546204, -0.006171535234898329, -0.015888921916484833, -0.01465589739382267, 0.06691651046276093, -0.02384190261363983, -0.001016665599308908, -0.013881951570510864, -0.04805490002036095, 0.03942510485649109, 0.08272864669561386, 0.021527739241719246, -...
<p>Some time ago I read <a href="http://www.psych.umn.edu/faculty/waller/classes/FA2010/Readings/rodgers.pdf" rel="nofollow">this great short paper on the relationship between 'correlation', ‘independence’ and ‘orthogonality’</a>. In short, two vectors can be uncorrelated, they can be orthogonal, they can be both, or t...
g60568
[ 0.02633626200258732, -0.05619334056973457, 0.01705111563205719, -0.02201521210372448, 0.050169236958026886, 0.013257674872875214, 0.0016607288271188736, 0.026994099840521812, -0.013886194676160812, -0.014633417129516602, 0.019556323066353798, 0.001794302836060524, 0.016383759677410126, 0.0...
<p>I have a set of 3D points. The points have three components $x$, $y$, $z$. You can think of these points as the surveyor points that one collects from measuring a terrain for GIS purposes.</p> <p>I have a few algorithms that take in this set of 3D points as the reference and also a list of 2D points $p_{out}(x,y)$:...
g49780
[ 0.0409230962395668, -0.060715291649103165, 0.007180051878094673, -0.01519110519438982, -0.002555638551712036, 0.047134898602962494, 0.06610005348920822, 0.03257310390472412, -0.06306052207946777, 0.034818097949028015, 0.001621021656319499, 0.04553881287574768, 0.09293165057897568, -0.01523...
<p>I am reading the paper of "Dirichlet Process Mixtures of Generalized Linear Models" authored by L. A. Hannah. If I would like to simulate the following model</p> <p>$$\mathcal{P}\sim \text{DP}(c\mathbb{G}_0)$$ $$\theta_i|\mathcal{P}\sim\mathcal{P}$$ $$X_{i,j}|\theta_{i,x}\sim\mathcal{N}(\mu_{ij},\sigma^2_{ij}), j=1...
g60569
[ -0.03906732425093651, 0.014886854216456413, -0.015462399460375309, -0.025609245523810387, 0.03651108592748642, 0.011546295136213303, 0.04514479637145996, -0.006403764709830284, -0.020939690992236137, -0.00708790635690093, -0.06681044399738312, 0.03521328791975975, 0.01728631556034088, -0.0...
<p>In bivariate linear regression is there a direct relationship between sample size $n$, coefficient of determination $r^2$ and $\sigma_\beta$ (the standard error of coefficient $\beta$)? </p> <p>Assume data have been normalized so both target and predictor variable have $\sigma=1$.</p> <p>Putting the question anoth...
g16737
[ 0.017144642770290375, -0.045219242572784424, -0.0023861133959144354, -0.01568027213215828, 0.05355231091380119, -0.05392816290259361, 0.026298506185412407, 0.037146009504795074, -0.042064160108566284, -0.05995635315775871, -0.05582993105053902, 0.009632074274122715, -0.01684701256453991, -...
<p>Suppose that I have a set of data sets $(m_i)$. Each of this data set $m_i$ is related to a parameter $\hat{\theta}_i$ that I know. Then I have two models providing me HPDs intervals for each $\theta_i|m_i$. I want to assess/compare the performance of the two models. Obvisouly I can simply look how many of the $\ha...
g16738
[ -0.007347746752202511, -0.04275113344192505, -0.03323882818222046, -0.05334312468767166, 0.01643524132668972, -0.014610989950597286, 0.021276598796248436, -0.04623940959572792, -0.05509085953235626, -0.03501635417342186, 0.010362822562456131, 0.03721003234386444, 0.07073874771595001, 0.045...
<p>I have two frequency tables, one representing observed data and one representing modeled data.</p> <p>I am looking for a Goodness of Fit measure, checking whether the model data fits the observed data.</p> <p>Problem is, my counts are rather small (most are smaller than 5), and so Pearson Goodness of Fit fails to ...
g60570
[ 0.024598287418484688, -0.05269597843289375, -0.018107814714312553, -0.06883425265550613, 0.0019001462496817112, -0.0038486497942358255, 0.018579039722681046, -0.01849796250462532, -0.061076901853084564, -0.032299626618623734, 0.027481703087687492, -0.02548891305923462, 0.004567461088299751, ...
<p>we have ran an experiment where we compared three interaction techniques for a 3d docking task. So we had two factors: the aforementioned technique type and a factor representing the direction translation (i.e.: if participants had to move an object that appeared close to their viewpoint and move it in depth or vice...
g60571
[ -0.023052304983139038, -0.06411352008581161, -0.0013623349368572235, -0.023690855130553246, 0.00865734089165926, 0.05475398898124695, 0.07534405589103699, -0.0405353344976902, -0.00724912341684103, -0.013807534240186214, 0.0038374809082597494, -0.05451805144548416, 0.013407530263066292, -0...
<p>I have a uniform prior with certain values $a$ and $b$ (not standard uniform). How do I update this distribution to take into account the results from my data? If it was $U(1,1)$, I could convert it to a beta distribution, but since it is not, I'm not sure how to approach this.</p>
g60572
[ 0.01777990162372589, -0.043711088597774506, -0.023622743785381317, -0.06771189719438553, -0.027412060648202896, 0.020306143909692764, -0.019205134361982346, 0.032957904040813446, -0.021417485550045967, -0.05265689268708229, 0.005358042195439339, 0.01546889916062355, -0.001730230520479381, ...
<p>If I have a batch of 130 parts and I inspect a random sample of 14 parts, either accept or reject the part, and calculate the percent defective in the sample, how confident can I be that the percent defective in the sample represents the percent defective in the batch?</p> <p>Here's why I need to know: We have a p...
g60573
[ 0.01519473735243082, -0.010870177298784256, 0.011694347485899925, -0.003448897274211049, -0.015291805379092693, 0.005276136565953493, 0.00877219159156084, 0.0380256362259388, 0.011362834833562374, -0.04716651514172554, 0.024620775133371353, 0.03367159888148308, -0.0015624285442754626, -0.0...
<p>I'm using PROC KDE to fit a density to a large set of continuous data. I can't figure out how to get around the convergence issue below. Any suggestions? I could plot percentiles, but I prefer the densities. Here's my log:</p> <pre><code>285 ods graphics off; 286 ods graphics on; 287 proc kde data=sasdata.ha...
g16742
[ 0.06208205595612526, 0.009274473413825035, -0.005383907351642847, -0.02648945525288582, -0.06447270512580872, 0.016599707305431366, 0.020240606740117073, -0.06644397974014282, -0.06541261076927185, -0.03213925287127495, 0.06931104511022568, 0.0048739174380898476, 0.06959415972232819, 0.044...
<p>I frequently run into the following example:</p> <p>Lot's of genes (order of hundreds of thousands), a few hundred samples stratified into multiple groups. And those groups overlap (i.e. healthy/sick + young/old or something similar).</p> <p>The task - I need to run a hypothesis test for differences in means for e...
g16743
[ -0.02705327607691288, -0.010731281712651253, 0.0019805014599114656, -0.0429781973361969, -0.02432710863649845, -0.018071802332997322, 0.017948230728507042, 0.01647094264626503, -0.024986976757645607, 0.03934188187122345, 0.05519254133105278, -0.021172920241951942, 0.01209199707955122, 0.05...
<p>After a sample size of 400+ I was able to get a Pearson's coefficient of .25. How am I supposed to break this down into a probability or a percentage. Rather, how can I explain my findings in laymen terms?</p> <p>I should give some more information. We have two different tests. One of these tests has 1 question,...
g16744
[ 0.0047028581611812115, -0.04837188124656677, -0.00011626330524450168, -0.035698793828487396, 0.020405499264597893, -0.04122543707489967, 0.0583546906709671, -0.01240946352481842, -0.03816676512360573, -0.05093146115541458, 0.03309207409620285, 0.006653143558651209, -0.01939089410007, -0.01...
<p>I am trying to compare incidence rate ratios (IRR). This is what I have:</p> <p>Group A (exposed vs. unexposed) IRR and Group B (exposed vs. unexposed) IRR</p> <p>So how would I correctly test for the difference between the IRR from Group A and the IRR from Group B? The question I would like to answer is whethe...
g48645
[ 0.022600427269935608, -0.07461000978946686, -0.005940136034041643, -0.04085918888449669, -0.004569370765239, -0.03141525387763977, 0.04647123068571091, 0.030689705163240433, -0.02893020026385784, -0.004902421496808529, 0.05375732108950615, 0.06453598290681839, -0.021592415869235992, 0.0456...
<p>I'm building a naive bayesian classifier for a binary classification. Right now I have an estimator for Bernoulli distributions, and real distributions (using a kernel mixture distribution).</p> <p>I can build my distributions nicely, and take the PDF's from my distribution and samples. But when I combine the proba...
g46350
[ 0.02885112166404724, -0.0037233438342809677, 0.012611999176442623, 0.0005882636760361493, 0.01591489464044571, -0.037032488733530045, 0.026177585124969482, 0.04615798592567444, -0.039664000272750854, -0.071966752409935, 0.02919445000588894, 0.0032096633221954107, 0.07230426371097565, 0.034...
<p>What is $EY$, if $Y=max(X_{1},X_{2},...,X_{n})$ where $X_{i}$ are observations from uniform distribution over set $(0,a)$, $EY$ goes to $a$ as $n$ goes to infinity ?</p>
g60574
[ -0.031092064455151558, -0.010721004568040371, -0.040459100157022476, -0.03822116553783417, 0.012303396128118038, -0.05113792046904564, -0.008466145023703575, 0.005904605612158775, -0.013028008863329887, 0.03183012083172798, -0.03259357064962387, -0.007924326695501804, 0.0695948675274849, 0...
<p>Assume that I have a belief network with a set of nodes. </p> <p>In order to create a valid junction tree I have to moralize the graph. Assume now that I have nodes with more than 2 parents (e.g 3 parents) then I have to link each of the parents. After doing that, the graphical models contain some unnecessary cliq...
g60575
[ -0.03148771449923515, 0.04627608880400658, -0.007060211151838303, -0.022196628153324127, 0.03415234759449959, -0.07173614948987961, -0.056209370493888855, 0.014279687777161598, -0.018442736938595772, 0.006989492103457451, 0.05310229957103729, -0.03750103339552879, -0.027979528531432152, 0....
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/40454/determine-different-clusters-of-1d-data-from-database">Determine different clusters of 1d data from database</a> </p> </blockquote> <p>I am trying to detect clusters, i.e. segments on a linear scale,...
g49592
[ 0.06111544370651245, -0.028921077027916908, -0.026551848277449608, -0.059223588556051254, 0.014139745384454727, -0.0520918183028698, 0.006564880255609751, 0.009765478782355785, -0.003804909996688366, -0.04361914470791817, -0.0005005430430173874, 0.0016300425631925464, 0.08426832407712936, ...
<p>I am reading the paper introducing the graphical lasso, which is a way to estimate a sparse inverse covariance matrix.</p> <p><a href="http://www-stat.stanford.edu/~tibs/ftp/graph.pdf" rel="nofollow">http://www-stat.stanford.edu/~tibs/ftp/graph.pdf</a></p> <p>Finding a sparse inverse covariance matrix can be usefu...
g16749
[ 0.013633687980473042, -0.013177097775042057, 0.009326707571744919, -0.029930109158158302, 0.009478938765823841, -0.04234735295176506, 0.015610932372510433, 0.006793667562305927, 0.00899587944149971, 0.02169398032128811, -0.006542646791785955, 0.04884245619177818, 0.03949262201786041, -0.00...
<p>I am carrying out a logistic regression with $24$ independent variables and $123,996$ observations. I am evaluating the model fit in order to determine if the data meet the model assumptions and have produced the following binned residual plot using the <code>arm</code> <code>R</code> package:</p> <p><img src="http...
g60576
[ 0.01802278868854046, -0.03346193581819534, -0.010274416767060757, -0.0014802635414525867, -0.007202365901321173, 0.034780919551849365, -0.0010769856162369251, -0.03919215500354767, -0.06354286521673203, -0.013837657868862152, 0.03276684507727623, 0.03218967095017433, 0.015009008347988129, ...
<p>I have the (inexact) measurement of N points. I also have access to the true value for M &lt; N of such points.</p> <p>Suppose the measurement error is normally distributed.</p> <p>Based on this knowledge I could probably compute the mean ("error_mean") and SD ("error_sd") of the measurement error based on the M p...
g60577
[ 0.004305442329496145, -0.019725603982806206, -0.05135832726955414, 0.029232988134026527, -0.02127212844789028, 0.041396189481019974, 0.03834061697125435, 0.013887657783925533, -0.043856266885995865, -0.02830541506409645, -0.032951995730400085, 0.058131396770477295, 0.03673829883337021, 0.0...
<p>I do not have a strong statistics background, and I am trying to figure out the best way to determine whether a correlation exists between two variables $x$ and $y$ using Minitab. I have repeated measures for both variables for each of 8 different subjects, but for any given subject the $n$ for variable $x$ is diffe...
g16750
[ 0.04059799015522003, -0.055803049355745316, 0.017117587849497795, -0.04646727442741394, -0.023026980459690094, -0.02271626517176628, -0.012595509178936481, -0.049501292407512665, -0.01031331904232502, -0.08253662288188934, -0.03465170040726662, -0.0029922134708613157, -0.01452366728335619, ...
<p>Given two independent random variables $X\sim \mathrm{Gamma}(\alpha_X,\beta_X)$ and $Y\sim \mathrm{Gamma}(\alpha_Y,\beta_Y)$, what is the distribution of the difference, i.e. $D=X-Y$?</p> <p>If the result is not well-known, how would I go about deriving the result? Thank you!</p>
g60578
[ 0.006802101619541645, -0.013157783076167107, -0.027888687327504158, -0.05419937148690224, 0.03629865497350693, -0.013152617029845715, -0.0004443817015271634, -0.04665238410234451, -0.012136707082390785, -0.028277933597564697, -0.016931423917412758, 0.04638886824250221, -0.005906326230615377,...
<p>I am conducting a meta-analysis of effect sizes <strong><em>d</em></strong> in R using the metafor package. <strong><em>d</em></strong> represents differences in memory scores between patients and healthy. However some studies report only subscores of the measure of interest <strong><em>d</em></strong> (e.g. several...
g16751
[ -0.0021075645927339792, 0.004916971083730459, 0.005257185082882643, -0.0724603459239006, 0.0021206338424235582, -0.025473978370428085, 0.01438757125288248, 0.0017564608715474606, -0.006518097594380379, -0.018654627725481987, 0.02823139913380146, -0.018482837826013565, 0.0537799634039402, 0...
<p>I'm using a regression package that uses <code>gam()</code> from the <code>mgcv</code> package. Is it possible to include an L1 penalty with the <code>gam</code> function? The documentation indicates that an L2 penalty can be used using the <em>H</em> parameter, but I do not understand how, or if it can be used for ...
g16753
[ 0.03217659890651703, -0.04523906484246254, -0.02469395287334919, -0.015929538756608963, 0.04904337227344513, -0.006717931944876909, 0.051182374358177185, 0.01680406741797924, -0.06376276165246964, 0.03108181059360504, 0.001242642174474895, 0.05578962340950966, 0.09958720207214355, -0.00685...
<p>I am asking on behalf of a colleague. I was hoping to have an answer for him, but I rather seek some guidance and be a bit more confident. He is designing a treatment study, which I am inventing here for illustrative purposes. The treatment (singing) is supposed to increase mood, while the control (humming) may incr...
g60579
[ -0.03562696650624275, -0.010780098848044872, -0.031978148967027664, -0.06302117556333542, -0.06171083450317383, -0.021647661924362183, 0.017746035009622574, 0.030271653085947037, 0.0011227945797145367, -0.014281857758760452, 0.011769168078899384, 0.008049567230045795, 0.01193596888333559, ...
<p>I found two very useful posts about the difference between linear regression analysis and ANOVA and how to visualise them:</p> <p><a href="http://stats.stackexchange.com/questions/555/why-is-anova-taught-used-as-if-it-is-a-different-research-methodology-compared">Why is ANOVA taught / used as if it is a different r...
g60580
[ 0.016670240089297295, -0.032994870096445084, -0.005600107833743095, -0.00831656064838171, 0.03882433474063873, 0.016108309850096703, 0.04284524545073509, -0.01692807488143444, -0.05508185550570488, -0.01109948568046093, -0.03836734965443611, 0.04290681332349777, 0.03142130374908447, 0.0121...
<p>I am referring to the site deeplearning.net on how to implement the deep learning architectures. I have read quite a few research papers on document summarization (both single document and multidocument) but I am unable to figure to how exactly the summary is generated for each document.</p> <p>Once the training is...
g60581
[ -0.03765237703919411, 0.04481379687786102, -0.014578808099031448, -0.057493433356285095, 0.03558237478137016, -0.03816511482000351, 0.05057176575064659, 0.04395947977900505, -0.03667253628373146, -0.04260201379656792, -0.0506424643099308, 0.010404422879219055, 0.010847975499927998, 0.02387...
<p>I would like to build a HMM that would work similarly to a parts-of-speech tagger. But rather than tag words in a sentence with their part of speech, I would tag words in user searches on e-commerce sites with their category. For instance, both "red party dress" and "black formal tie" would be tagged with <code>[col...
g16759
[ -0.016179420053958893, 0.06226763129234314, -0.0035855621099472046, -0.07227814197540283, -0.01243266649544239, -0.058757662773132324, -0.043711476027965546, 0.04035654291510582, 0.04716106504201889, 0.015971316024661064, -0.03942643105983734, -0.010965431109070778, 0.06539126485586166, 0....
<p>I am wondering if there are any methods for calculating sample size in mixed models? I'm using <code>lmer</code> in R to fit the models (I have random slopes and intercepts).</p>
g43380
[ -0.008065636269748211, -0.053431637585163116, 0.01560116559267044, -0.03084380179643631, -0.014472841285169125, -0.001278289477340877, 0.015438707545399666, 0.016310086473822594, -0.05434262752532959, -0.003917011898010969, 0.018290270119905472, -0.05044190585613251, 0.02838284522294998, 0...
<p>I have trouble figuring out what the range bars in <code>plot.stl</code> exactly mean. I found Gavin's post on this question and read the documentation as well, I understand that they tell the relative magnitude of the decomposed components, but still I am not entirely sure how they work.</p> <p>E.g.:</p> <p>data:...
g46364
[ 0.026769259944558144, 0.01956884004175663, -0.003126154188066721, -0.06887537240982056, -0.011576836928725243, -0.03896469250321388, 0.05746142566204071, -0.012921184301376343, -0.021834678947925568, -0.0473763532936573, -0.04234279692173004, 0.010021180845797062, 0.053384218364953995, -0....
<p>Today I have got a question about binomial/ logistic regression, its based on an analysis that a group in my department have done and were seeking comments upon. I made up the example below to protect their anonymity, but they were keen to see the responses. </p> <p>Firstly, the analysis began with a simple 1 or 0 ...
g60582
[ -0.0428880974650383, -0.014805031940340996, 0.026771973818540573, 0.024175668135285378, -0.009211350232362747, -0.003702679183334112, -0.0036796864587813616, 0.009527858346700668, -0.042607467621564865, -0.017734136432409286, -0.009230294264853, -0.02564755454659462, 0.04475947842001915, 0...
<p>Suppose I have two random variable $X_t\sim NID(0,1)$ and $Y_t\sim NID(0,4)$ and $Cov(X_t,Y_t)=2$ . Consider the random variable $Z_t = X_t + Y_t + Y_tX_t$. </p> <p>$E(Z_t) = E(X_t)+E(Y_t X_t)+E(Y_t) = 0 + 2 + 0 = 2$</p> <p>because,</p> <p>$E(X_t)=0$</p> <p>$E(Y_t)=0$</p> <p>$E(X_tY_t) = E(X_t)\times E(Y_t)+co...
g34023
[ 0.015991998836398125, 0.009083501063287258, -0.016461122781038284, -0.012338802218437195, 0.07204027473926544, -0.046436209231615067, 0.04886865243315697, -0.018273204565048218, 0.005437497980892658, -0.0023225112818181515, -0.04335903748869896, 0.05540687218308449, 0.007336351089179516, 0...
<p>I have two samples A and B. A contains 100 elements while B has 150 elements. I want to know whether Kolmogorov-Smirnov test can be performed to compare these two samples A and B of different size?</p> <p>Kindly reply.</p> <p>With Regards Puglu</p>
g16767
[ -0.0006158222677186131, -0.016134707257151604, 0.00842438917607069, -0.018344493582844734, 0.007190639153122902, -0.029490405693650246, -0.0010231207124888897, 0.03183317184448242, 0.02384282276034355, -0.0037367441691458225, 0.0055370330810546875, 0.09438067674636841, -0.042297787964344025,...
<p>I get confused on the proper notations of meanings, as well as the meanings of some notations relating to random variables and their distributions. Below, I will list things that I think are true, as well as things that I don't understand, and I would love input/corrections. I have labeled each point/question with...
g16769
[ 0.015055269934237003, -0.04496675357222557, -0.02550268918275833, -0.051317229866981506, 0.019063206389546394, -0.027743250131607056, 0.026513149961829185, 0.010177216492593288, 0.016087187454104424, -0.04078857973217964, -0.031389269977808, -0.004559322260320187, 0.03720830753445625, -0.0...
<ol> <li><p>I want to test heteroskedasticity in a Tobit model with Stata 12. But I don't know how to do that.</p></li> <li><p>When I used an OLS model, I tested heteroskedasticity and autocorrelation, and didn't find much, but the OLS model isn't significant (Prob > <em>F</em> = 0.54) and <em>R</em>² is small = 0.01. ...
g60583
[ -0.0013823106419295073, 0.013774420134723186, 0.027219565585255623, -0.06483907997608185, 0.03349554166197777, -0.006895836908370256, 0.008409895934164524, 0.015945006161928177, -0.029814330860972404, -0.02209882251918316, 0.05138102546334267, 0.0598226934671402, 0.055723290890455246, -0.0...
<p>I am currently writing my thesis using multiple regression. However my data does not meet the regression assumption of normal distribution.</p> <p>I want to describe that, due to the non normal distribution, the interpretation of the data is limited. I don't want to transform the data, i just want to say what the i...
g60584
[ 0.0107253547757864, 0.03727499768137932, 0.009814895689487457, -0.039281535893678665, -0.02465328760445118, 0.01831962913274765, 0.03676026314496994, 0.07608164846897125, -0.005340722389519215, -0.04056335613131523, -0.001484796404838562, -0.030336301773786545, 0.00993262231349945, -0.0051...
<p>When running the Metropolis-Hastings algorithm with uniform candidate distributions, what is the rationale of having acceptance rates around 20%? </p> <p>My thinking is: once the true (or close to true) parameter values are discovered, then no new set of candidate parameter values from the same uniform interval wou...
g60585
[ 0.025664016604423523, -0.00399162108078599, -0.023544088006019592, -0.037318553775548935, -0.015988599509000778, 0.07384862005710602, 0.03417564928531647, 0.08385834097862244, -0.048548996448516846, 0.043487757444381714, -0.040369387716054916, 0.043235793709754944, 0.011693420819938183, 0....
<p>I have a large data.frame in R. I would like to double if its distribution fit normal distribution or extreme value distribution better</p> <p>Here is my simplified data.frame.</p> <pre><code>x &lt;- data.frame(A=c(1,3,1,5,4,5,5,7,3,2,2,1,1,1,4,9,10)) </code></pre> <p>Could you mind to let me know how to do so? ...
g60586
[ 0.06051933392882347, -0.005441141314804554, -0.0021997105795890093, -0.07054013013839722, -0.007268757093697786, -0.012009995058178902, 0.025831472128629684, 0.04978970065712929, -0.0583285354077816, -0.009161961264908314, -0.02270660176873207, 0.013107734732329845, 0.005275629460811615, -...
<p>If the model does not satisfy ANOVA assumptions (normality in particular), if one-way, Kruskal-Wallis non-parametric test is recommended. But, what if you have multiple factors? </p>
g49509
[ -0.028116624802350998, 0.002325207693502307, 0.010661762207746506, 0.006440850906074047, 0.02668037638068199, -0.0022480234038084745, 0.0010724037420004606, -0.030282586812973022, 0.00793831329792738, -0.0380520299077034, -0.007807827554643154, 0.015196796506643295, -0.0010949816787615418, ...
<p>As a means of motivating the question, consider a regresison problem where we seek to estimate $Y$ using observed variables $\{ a, b \}$</p> <p>When doing multivariate polynomial regresison, I try to find the optimal paramitization of the function </p> <p>$$f(y)=c_{1}a+c_{2}b+c_{3}a^{2}+c_{4}ab+c_{5}b^{2}+\cdots$$...
g60587
[ 0.033717017620801926, -0.06194136664271355, -0.009422775357961655, -0.03376833721995354, 0.007694290019571781, -0.057704903185367584, -0.029464833438396454, 0.02123892307281494, 0.0009979316964745522, -0.010827267542481422, -0.015140104107558727, 0.015806907787919044, -0.029024900868535042, ...
<p>Say one wishes to train a hidden Markov model with $n$ hidden states, and (accidentally) the problem itself can be described with a hidden Markov model with $n$ (or less states). What is the expected number of samples one needs to learn such model correctly (with an error $&lt;\epsilon$)?</p>
g60588
[ -0.04283883795142174, 0.026003152132034302, -0.004877103492617607, 0.02631174772977829, 0.04084663838148117, -0.03549285605549812, 0.012000277638435364, 0.05460746958851814, 0.014755518175661564, -0.03570568934082985, -0.057958267629146576, 0.017182687297463417, 0.0351630337536335, 0.00903...
<p>Follow the very useful answers from Peter Flom, Wayne and many others. I have now started using R and it gives me a feeling of python :)</p> <p>The results are below but I am not sure how should I go from here ? The density certain looks much better after log transformation. Can you please shed some light on how to...
g60589
[ -0.005696768872439861, -0.0094036515802145, -0.01613587513566017, -0.08047560602426529, -0.0614047646522522, -0.013982408680021763, 0.01935710944235325, -0.012020684778690338, -0.04247650131583214, -0.030199123546481133, -0.03470025211572647, -0.008012406527996063, 0.06964214891195297, -0....
<p>If I do a multiple regression such as:</p> <pre><code>df&lt;-data.frame(y1=rnorm(100,2,3), y2=rnorm(100,3,2), x1=rbinom(100,1,0.5), x2=rnorm(100,100,10)) fit&lt;-lm(cbind(y1,y2)~x1+x2,data=df) &gt; anova(fit) Analysis of Variance Table Df Pillai approx F num Df den Df Pr(&gt;F) (Intercept) 1 0.7...
g60590
[ 0.0034611807204782963, -0.05672333016991615, -0.00490792840719223, 0.009361517615616322, 0.049345389008522034, -0.0011271701660007238, 0.061765022575855255, 0.032052043825387955, -0.052766475826501846, -0.05069674924015999, -0.07217994332313538, 0.047038085758686066, 0.061619699001312256, ...
<p>I am working with models for panel data of individuals, wherein:<br> my latent variables Yt= $\beta$Yt-1+Ai+Q<br> Individuals level of the process A~N(l,h)<br> Innovation of the latent Q~N(0,q)<br> observed variables Xt=$\lambda$Y+$\epsilon$<br> measurement residuals $\epsilon$~N(0,e) </p> <p>Basically, a multivar...
g60591
[ 0.0018167711095884442, -0.04774327576160431, -0.00627337209880352, 0.04128965362906456, -0.022203762084245682, -0.021067798137664795, 0.021455803886055946, -0.04074463993310928, -0.06861463189125061, 0.01979144848883152, -0.03751259297132492, 0.019737765192985535, 0.023135321214795113, 0.0...
<p>Just started getting into machine-learning, and I'm wondering if there is a relationship between the Perceptron learning algorithm and linear regression?</p>
g16780
[ 0.047411173582077026, -0.0431634746491909, 0.0038526994176208973, -0.03446128964424133, 0.02526230551302433, -0.02275315672159195, 0.037142544984817505, 0.007835649885237217, -0.05794769152998924, -0.024159301072359085, -0.008541055023670197, 0.06437109410762787, 0.04190952703356743, 0.077...
<p>Let $X_1,...,X_N$ be independent normal random variables. $X_i$ is normal with mean $\mu_i$ and standard deviation $\sigma_i$. Let $x_i$ be a single random sample from $X_i$.</p> <p><strong>Input:</strong> We get all $x_i$'s and all $\sigma_i$'s, but we don't get the $\mu_i$'s.</p> <p><strong>Question 1</strong> E...
g60592
[ -0.001984817674383521, -0.021485701203346252, -0.004626246634870768, -0.04423152655363083, -0.05857255682349205, -0.031951915472745895, 0.007978741079568863, -0.001637216773815453, 0.0019250561017543077, 0.002961360150948167, -0.0013328231871128082, 0.028561940416693687, -0.03497916087508201...
<p>When using dummy variables in a random effects model, how do I specify the model?</p> <p>Assuming three dummies (e.g. for three industries): </p> <ul> <li><p>Do I treat it as three regressions, where I present a table with three columns for each of these dummies? (where all other variables are the same below in ea...
g16785
[ -0.005645615514367819, 0.03372632712125778, -0.005399823654443026, -0.045686908066272736, 0.047261692583560944, 0.011910182423889637, 0.02116500772535801, 0.015590035356581211, 0.006934530101716518, -0.012056628242135048, -0.020220309495925903, 0.022965168580412865, 0.013450777158141136, 0...
<p>From the document and help, probit model is supported by mlogit. But when I tried it with these R scripts, the estimation takes much longer time to run (than the logit verion) and the result is quite a bit different as well (argument probit=FALSE). Does the probit behave correctly? If so, how should I interpret the ...
g60593
[ -0.02247384935617447, -0.06601378321647644, 0.021158581599593163, -0.07327283173799515, 0.03860514238476753, -0.02334282174706459, 0.0524090938270092, -0.03136896714568138, -0.10527260601520538, 0.0031217432115226984, -0.051217276602983475, 0.03143996000289917, 0.06950058788061142, 0.02105...
<p>This is probably close to trivial for stats experts. Yet, although having searched the web for quite a while now, I have not been able to come up with a satisfactory answer.</p> <p>Given two (approximately) Gaussian random variables, $u$ and $v$, what is the PDF and the expectation value of $u – v$ given the prior ...
g60594
[ 0.005291616544127464, -0.05914708226919174, -0.015156882815063, -0.051284309476614, -0.054810699075460434, 0.04461431875824928, 0.03397710621356964, 0.03640516474843025, -0.035253945738077164, -0.023202674463391304, 0.008071730844676495, 0.04626873508095741, 0.016386477276682854, -0.015913...
<p>This question is an extension to my previous <a href="http://stats.stackexchange.com/questions/60929/should-i-convert-bootstrapped-confidence-intervals-for-logistic-regression-coeff">question</a>, although it is not repeated.</p> <p>My bootstrapped ORs are OK. They are equal to non-bootstrapped ORs. However, the co...
g16789
[ -0.05921297147870064, -0.0023815049789845943, 0.021159116178750992, 0.005721936002373695, 0.06365783512592316, -0.010904517024755478, -0.020811935886740685, 0.02586185559630394, -0.019575733691453934, -0.02819368988275528, 0.008752493187785149, 0.032942671328783035, 0.03497838228940964, 0....
<p>I am planning to write a program that performs MDS. Any pointers to where I can access the pseudo-code for MDS? Thanks!</p>
g60595
[ -0.025019139051437378, 0.005008193198591471, -0.0009026248590089381, -0.07421420514583588, -0.0510198250412941, -0.066292904317379, -0.011105498299002647, 0.057715147733688354, 0.021530762314796448, -0.06046551465988159, -0.01654944196343422, 0.024354202672839165, 0.0518852099776268, 0.015...
<p>I have a dataset of bimodal population. It contains a smaller peak, which is considered to be "bad", and a bigger peak. I try to separate the bad part of data from the rest of data. What I did was: first I did a kernel density estimation, then found the local maximum of this small peak, and the local minimum of the ...
g60596
[ 0.01300587598234415, -0.0074648428708314896, -0.006608095020055771, -0.07175192981958389, -0.02294418215751648, -0.062399838119745255, -0.021126916632056236, 0.002466448349878192, -0.0465913861989975, -0.016313090920448303, 0.025324968621134758, 0.05097853019833565, 0.060500357300043106, 0...
<p>Are there any papers/books/ideas about the relationship between the number of features and the number of observations one needs to have to train a "robust" classifier?</p> <p>For example, assume I have 1000 features and 10 observations from two classes as a training set, and 10 other observations as a testing set. ...
g60597
[ -0.02011643350124359, 0.019157199189066887, 0.008569780737161636, -0.0032149830367416143, 0.03311792016029358, -0.04651828855276108, 0.041226089000701904, 0.07948282361030579, -0.02538428269326687, -0.05323892831802368, 0.0010002891067415476, 0.034460004419088364, 0.08954682946205139, 0.02...
<p>I have a sample of records, with string and numerical columns. My sample is currently hosted in an excel spreadsheet. I need a tool that wil produce discripte statistics for each colomn, such as max and min values, number of unique values, max string lenght. Are there any such tools available. Any tips? The ultimate...
g60598
[ 0.04872993007302284, -0.021869691088795662, -0.003568738466128707, -0.04376035928726196, -0.013515236787497997, -0.07253236323595047, -0.04008786007761955, 0.04636875540018082, -0.03875086456537247, -0.06343923509120941, -0.04929506778717041, -0.009268728084862232, 0.07896943390369415, -0....
<p>Recently I've been working EM algorithms for MAP estimation in a problem where the expectation is intractable, but the maximization is easy. Further, draws from the distribution in the E-step are easily available through MCMC, so I've been experimenting with stochastic versions of EM. Let $X$ be the observed data, $...
g60599
[ -0.02036498859524727, -0.07203514128923416, 0.00951546523720026, 0.04075457900762558, -0.02730712480843067, 0.009898852556943893, 0.050323206931352615, 0.003865917446091771, -0.08511028438806534, 0.05744317173957825, -0.010130306705832481, -0.029669292271137238, 0.05741192772984505, 0.0450...
<p>Can you suggest a good review of case control matching algorithms? Algorithms that can be used to set up the matched <em>pairs of one case and one control</em>, or <em>matched blocks of a case and multiple controls</em>.(Preferably a paper, book chapter or website discussing recent developments.)</p>
g16794
[ 0.0442974679172039, -0.015235278755426407, 0.028740156441926956, 0.023340975865721703, -0.03545309975743294, -0.05467342957854271, 0.0022806525230407715, 0.0067902132868766785, 0.04071201756596565, 0.017609236761927605, 0.018620526418089867, -0.03872476518154144, 0.05842646211385727, 0.023...
<p>SPSS returns lower and upper bounds for Reliability. While calculating the Standard Error of Measurement, should we use the Lower and Upper bounds or continue using the Reliability estimate.</p> <p>I am using the formula : </p> <p>$$\text{SEM}\% =\left(\text{SD}\times\sqrt{1-R_1} \times 1/\text{mean}\right) &#215;...
g43147
[ -0.008424632251262665, -0.04499295353889465, -0.019892683252692223, -0.023295890539884567, -0.042930569499731064, 0.02829699218273163, 0.02624860219657421, 0.022578835487365723, 0.008630619384348392, -0.05704991891980171, -0.002466193400323391, 0.038979243487119675, -0.007300001569092274, ...
<p>I can see that there are a lot of formal differences between Kullback–Leibler vs Kolmogorov-Smirnov distance measures. However, both are used to measure the distance between distributions.</p> <ul> <li>Is there a typical situation where one should be used instead of the other? </li> <li>What is the rationale to do ...
g60600
[ 0.03971780836582184, -0.01638082042336464, -0.01831948570907116, -0.010652907192707062, -0.047826819121837616, 0.053651608526706696, -0.028562599793076515, 0.05629310756921768, 0.017855588346719742, -0.010811399668455124, -0.007663869298994541, -0.04749184474349022, 0.052858322858810425, 0...
<p>I use the <a href="http://www.oga-lab.net/RGM2/func.php?rd_id=forecast%3aauto.arima">auto.arima()</a> function in the <a href="http://cran.r-project.org/web/packages/forecast/index.html">forecast</a> package to fit ARMAX models with a variety of covariates. However, I often have a large number of variables to select...
g60601
[ 0.029170731082558632, -0.026524566113948822, -0.0017640276346355677, -0.007318367250263691, 0.023189133033156395, -0.03241066634654999, 0.027621710672974586, 0.004269436467438936, -0.03519114479422569, 0.023840919137001038, 0.046476345509290695, 0.037340037524700165, 0.06542764604091644, -...
<p>I am wanting to run correlations on a number of measurements where Likert scales were used. Looking at the scatterplots it appears the assumptions of linearity and homoscedasticity may have been violated. </p> <ul> <li>Given that there appears to be some debate around ordinal level rating approximating interval lev...
g60602
[ 0.033151041716337204, -0.0004664311418309808, -0.04010636731982231, -0.0805002972483635, 0.002592202043160796, 0.04099977761507034, 0.047235988080501556, -0.003123784903436899, -0.01765023171901703, 0.025709012523293495, 0.0347754992544651, 0.01897275261580944, 0.014888850040733814, 0.0021...
<p>I'm struggling with a proof of the normal equation, so I posted a <a href="http://stats.stackexchange.com/questions/54927/linear-regression-in-matrix-notation">question</a> which hopefully will get resolved soon. However, I mentioned there that I'm uncomfortable with the proofs dealing with <a href="http://en.wikipe...
g41456
[ 0.029098166152834892, -0.010722959414124489, -0.013848258182406425, 0.03647194057703018, 0.007268744055181742, -0.11282845586538315, 0.11297833919525146, 0.004600287415087223, -0.0029487055726349354, -0.000032703206670703366, -0.0009646265534684062, 0.03421355038881302, 0.0302028376609087, ...