question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I have an extremely simple question regarding chi-square test. So far I have found two different formulas for it: $$ \chi^2=\sum\frac{(x_o-x_e)^2}{x_e} $$ and $$ \chi^2=\sum\frac{(x_o-x_e)^2}{\sigma^2} $$</p> <p>$x_o$ is the observed data while $x_e$ is the expected data. Clearly the two formulas do not return the ...
g67685
[ 0.04852931946516037, 0.013970796018838882, 0.007770865224301815, -0.03246227651834488, 0.028080010786652565, -0.047868382185697556, 0.056204963475465775, 0.02074023149907589, -0.008922201581299305, 0.012116366066038609, -0.019997762516140938, 0.0509817972779274, 0.04718971997499466, 0.0122...
<p>First of all, sorry for the huge pictures, but I'm in desperate need of some input and help on the results following a study. I'm trying to interpret the results from my study, but I can't quite figure out what causes some of the positive correlations to turn into negative coefficients in the regression analysis.</p...
g67686
[ 0.011366184800863266, -0.04536239430308342, -0.03654105216264725, 0.00552492355927825, 0.03436033055186272, 0.02667325735092163, 0.021742749959230423, 0.012887490913271904, -0.015452926978468895, -0.050299666821956635, -0.06179065257310867, 0.03520641848444939, 0.023884790018200874, 0.0085...
<p>I'm working with unbalanced panel data using time and firms as IDs and would like to find out how to test for correlation between two panel equations that may be seemingly unrelated.</p> <p>The second question is about any package that allows the use of a Heckman selection model for panel data in Stata.</p>
g27305
[ 0.036512549966573715, -0.013196525163948536, 0.0202077217400074, -0.02462407387793064, 0.03566914051771164, -0.06429101526737213, 0.031849008053541183, -0.045062270015478134, 0.014393233694136143, -0.0267937034368515, 0.01454700157046318, 0.03330424800515175, 0.02434123493731022, 0.0360594...
<p>I am learning the smoothing spline method. I saw that smoothing spline is a penalty term to reduce overfitting in linear regression. Given dataset {$(x_1,y_1),(x_2,y_2)..(x_n,y_n)$}So the formular such as: $$RSS=\sum(y_i-f(x_i))^2+\lambda\int((f(t)'')^2dt$$</p> <p>Assume it is linear case so $$f(x_i)=ax_i+b$$ $$f(...
g76
[ 0.07182838767766953, -0.020622318610548973, -0.005700077395886183, -0.0423404760658741, -0.04320337995886803, -0.10577922314405441, 0.04192649945616722, 0.02945191226899624, -0.11270111054182053, -0.008606906980276108, -0.033807821571826935, 0.04558597132563591, 0.04771466553211212, -0.011...
<p>To my surprise I found that standard errors and thus Wald confidence intervals became smaller when I removed the intercept from a simple logistic regression model, using <code>glm()</code> and R.</p> <pre><code># load an object named "my.df" to the global enviroment load(url("http://hansekbrand.se/code/test.RData")...
g67687
[ 0.015061456710100174, -0.041397880762815475, -0.02785971574485302, -0.007127954624593258, -0.007591910660266876, 0.013402524404227734, 0.0726967304944992, 0.01580386608839035, -0.06824707984924316, -0.04839490354061127, -0.0028739972040057182, 0.00899327453225851, 0.06923405826091766, -0.0...
<p>I am interested in estimating the effect of security S on crime C in a given city over time (eight quarters) for twenty cities, so it's panel data. The problem is, instead of actual security spending I have two imperfect measures of S, call them S1 and S2. These were collected independently from each other but in bo...
g67688
[ 0.069538913667202, -0.07002239674329758, -0.015357213094830513, 0.003804794978350401, 0.005894268397241831, 0.002011800417676568, 0.04555318132042885, 0.01807180605828762, -0.04176093265414238, 0.014236911199986935, -0.0372161790728569, 0.057639285922050476, 0.004601691849529743, -0.008784...
<p>I have a bunch of curves that look like <a href="http://en.wikipedia.org/wiki/Sigmoid_function" rel="nofollow">S-curves</a> <em>(stored in a db with Point format)</em> and I am interested in finding this midpoint between both horizontal asymptotes for each of them. So, if <strong>X-axis</strong> represents <strong>t...
g67689
[ 0.06527730077505112, -0.029457828029990196, -0.02460315451025963, -0.013807712122797966, -0.012293871492147446, -0.09965955466032028, -0.006333439610898495, 0.016662411391735077, -0.052286092191934586, -0.027568692341446877, 0.029306504875421524, 0.012153449468314648, 0.06649249792098999, ...
<p>When people talk about the 80-20 rule in the context of wealth, it is usually expressed, verbally, by stating that the 20 percent of the people with the highest wealth get 80 percent of the wealth, and the top 20 percent of the richest 20 get 80 percent of that, or 64% of total wealth, and so forth. Then there is ha...
g67690
[ 0.03655090928077698, 0.07593759894371033, -0.03252456337213516, -0.03565146401524544, -0.010843250900506973, -0.012313670478761196, 0.025683581829071045, 0.01384352333843708, 0.0014054146595299244, -0.01978239417076111, 0.012592687271535397, -0.034347742795944214, 0.0193555299192667, -0.04...
<p>The following figure shows the log-likelihood of individual observations for different subsets of a data set - the horizontal line shows the average log-likelihood:</p> <p><img src="http://i.stack.imgur.com/14O5r.png" alt="figure one"></p> <p>So, the first subset includes all the data points observed up to t=7, th...
g67691
[ 0.015300334431231022, 0.01925397664308548, -0.012555452063679695, -0.008262909948825836, 0.016549324616789818, 0.026706896722316742, 0.0391041524708271, 0.01446513831615448, -0.08982057124376297, -0.046368326991796494, 0.024210087954998016, 0.0013858720194548368, 0.04765854403376579, 0.039...
<p>Can anyone explain how Stata computes the least squares parameters with a single explanatory variable - what algorithm Stats uses to compute the parameters. </p> <p>Actually I want to understand the computational algorithm of negative binomial regression model.</p>
g27310
[ 0.0515185222029686, -0.019697824493050575, 0.0011165309697389603, 0.01290394738316536, -0.0025936125312000513, -0.034771628677845, 0.03776399791240692, 0.04773851856589317, -0.022977888584136963, -0.010685579851269722, -0.02654825896024704, 0.04740073159337044, 0.0822116881608963, -0.01404...
<p>I conducted a panel OLS regression using gretl, on a balanced panel with around 25 zones and 10 time periods. I would like to use the model to forecast future values of y (dependant variable), given known future changes of x (explanatory variable).</p> <p>I would like to ask: how to deal with (a) the constant, (b) ...
g67692
[ -0.013898203149437904, -0.008719803765416145, -0.003936405293643475, -0.06130845099687576, 0.029482662677764893, -0.05958365648984909, 0.011394942179322243, -0.005578138399869204, -0.014459948055446148, -0.014979413710534573, -0.051796168088912964, 0.022816086187958717, 0.07630913704633713, ...
<p>I have tried to reproduce some research (using PCA) from SPSS in R. In my experience, <a href="http://www.personality-project.org/R/html/principal.html"><code>principal()</code></a> function from package <code>psych</code> was the only function that came close (or if my memory serves me right, dead on) to match the ...
g48000
[ 0.021927591413259506, -0.08315169811248779, 0.0055905855260789394, -0.08641008287668228, -0.02753412164747715, -0.06017298623919487, 0.1039189025759697, -0.003995746374130249, -0.0208190456032753, -0.02762673981487751, -0.0011622834717854857, 0.033785492181777954, 0.02397613227367401, -0.0...
<p>There have been a few questions about statistical <a href="http://stats.stackexchange.com/questions/tagged/textbook">textbooks</a>, such as the question <a href="http://stats.stackexchange.com/questions/170/free-statistical-textbooks">Free statistical textbooks</a>. However, I am looking for textbooks that are Open ...
g27315
[ 0.04654078930616379, 0.017131268978118896, 0.02889264188706875, -0.04364270716905594, 0.02034621872007847, 0.017487524077296257, -0.018187779933214188, 0.009021995589137077, -0.0011955377412959933, 0.008683569729328156, 0.01852540671825409, 0.0038141633849591017, 0.06880912184715271, -0.04...
<p>I'm trying to use JAGS for clustering mixtures of multivariate normal distributions. In order to model different covariance structures in each cluster I wanted to use one big (C*D)xD matrix (C - number of clusters, D - number of dimensions) which would represent all of the covariance matrices stacked one upon anothe...
g48005
[ -0.017689313739538193, -0.0015096327988430858, 0.0012506806524470448, -0.09171885251998901, -0.038728244602680206, -0.02267695963382721, 0.028751183301210403, -0.013652246445417404, -0.024090800434350967, 0.01576559618115425, 0.07482907921075821, -0.005792624782770872, 0.04876170679926872, ...
<p>I have a set of 76 annual occurrences of $x$ and $y$. When I run a linear regression, $y$ is significantly correlated to $x$. The Durbin-Watson test shows $y$ is also serially correlated.</p> <p>My goal is to predict $y$ from a certain future $x$ and to determine the prediction interval.</p> <p>I believe the pro...
g67693
[ 0.01593709923326969, -0.030096419155597687, -0.014005811884999275, -0.009909061715006828, -0.020963558927178383, -0.0618850514292717, 0.06892485916614532, 0.022892173379659653, 0.018918145447969437, -0.028949417173862457, 0.0032810508273541927, 0.07902160286903381, 0.04257123917341232, -0....
<p>Let $\{X_i\}_n$ be a sequence of $n$ random variables independently and identically drawn from either $P$ or $Q$. Thus the sequence $\{X_i\}_n$ has a product distribution, which is either $P^n$ or $Q^n$. Assume that $P$ and $Q_\theta$ have the same support $\Omega$.</p> <p>Suppose that the <a href="https://en.wik...
g41899
[ -0.0010003232164308429, -0.030544644221663475, -0.024018948897719383, 0.0020626396872103214, 0.012696269899606705, -0.011142447590827942, 0.014084888622164726, -0.03254332393407822, -0.021947091445326805, -0.052131056785583496, -0.07815840095281601, 0.020784709602594376, 0.04589423909783363,...
<p>$\DeclareMathOperator{\var}{Var}$ <a href="http://stats.stackexchange.com/questions/15423/how-to-compute-prediction-bands-for-non-linear-regression">How to compute prediction bands for non-linear regression?</a></p> <p>In the above link, you have mentioned about the variance-covariance matrix of the estimates. What...
g67694
[ 0.024160385131835938, -0.03896775469183922, -0.009207719936966896, -0.006492983549833298, 0.005015485920011997, -0.012987774796783924, 0.031563397496938705, 0.030124248936772346, -0.08150322735309601, -0.015268397517502308, 0.00010858660971280187, 0.040864430367946625, -0.01609754003584385, ...
<p>The question:</p> <blockquote> <p>Find a 99% confidence interval for the difference in mean oxygen consumption of an algae that is in 100% concentrated seawater with algae that is not in 100% seawater (i.e., 50% or 75%).</p> </blockquote> <p>Is this the correct approach?</p> <blockquote> <p>If we let $X_1...
g27319
[ 0.038654956966638565, 0.013287879526615143, -0.0023551764898002148, 0.014726575464010239, -0.026807960122823715, 0.010193873196840286, 0.06025322526693344, -0.007620926946401596, -0.03057359904050827, 0.025026898831129074, 0.013107395730912685, 0.053014252334833145, 0.05498041212558746, 0....
<p>The minimum variance, unbiased estimator $\hat \theta$ of $\theta$ is defined by $$\hat \theta = \text{argmin}_{\hat \theta} \; \mathbb{E} \left( (\hat \theta - \theta)^2 \, | \, \theta\right), \quad \text{ subject to } \quad \mathbb{E} \left( \hat \theta \, | \, \theta\right) - \theta = 0 $$ where the expectation,...
g39874
[ 0.005161460489034653, -0.04126904159784317, -0.014175974763929844, 0.010353784076869488, 0.007966366596519947, -0.024306509643793106, 0.03646568953990936, 0.0015445840544998646, -0.007466073147952557, -0.01633022166788578, -0.013300596736371517, 0.029949726536870003, 0.005797625053673983, ...
<p>Let $A$, $B$, $C$ be random variables. $A$ and $B$ are not independent $A$ and $C$ are independent. $B$ and $C$ are independent.</p> <p>Are $A$ and the product $BC$ independent? This is, is $E[ABC]=E[A]E[BC]=E[A]E[B]E[C]$??</p>
g67695
[ 0.004734322428703308, -0.034275736659765244, 0.015089540742337704, -0.04197870194911957, 0.022263554856181145, 0.023686684668064117, 0.00792702380567789, -0.005642536096274853, 0.036875102669000626, 0.03357435017824173, -0.06639696657657623, 0.04026012867689133, -0.10088784992694855, -0.00...
<p>I am trying to understand the relation between observed power and p-value in <a href="http://stats.stackexchange.com/a/59288/1005">Stephane's reply</a>, which I think is based on J. M. Hoenig and D. M. Heisey (2001) "The Abuse of Power: The Abuse of Power Calculations for Data Analysis," The American Statistician 5...
g13054
[ 0.021487386897206306, -0.008393394760787487, -0.028486445546150208, 0.0066702342592179775, 0.03661885857582092, -0.01874418556690216, 0.049062181264162064, 0.05424816533923149, -0.054339949041604996, -0.030790017917752266, 0.02576562575995922, 0.013845924288034439, 0.008360236883163452, 0....
<p>Basically, right now I am trying to do some nearest-neighbour searching on an approach where I don't have points in Euclidean space. To do a nearest-neighbour search currently, I take the query and compare it (with a special similarity function) to each model in the database to find the most similar one. </p> <p>...
g41927
[ 0.0073999036103487015, 0.013170481659471989, 0.020613867789506912, -0.020983770489692688, -0.03275977447628975, -0.0576275959610939, -0.07851927727460861, -0.030567141249775887, -0.06871293485164642, -0.039052318781614304, 0.06518598645925522, -0.020348357036709785, 0.021581582725048065, -...
<p>As an entrepreneur you try to find a model of your business. If you simulate this via Monte Carlo you could see sensitive areas in e.g. the marketing strategy and how it affects e.g. sales. I like to think of it as a prediction device. My intuition is that a simulation allows for "what if" questions in a way shorte...
g41930
[ 0.015358008444309235, 0.08321104943752289, -0.008037148974835873, 0.02325456030666828, -0.0485665388405323, -0.04863211512565613, 0.06310271471738815, -0.005771418567746878, 0.005156511906534433, -0.011521434411406517, 0.0031912801787257195, 0.01703476347029209, 0.07145345956087112, 0.0238...
<p>I have 52 samples daily, weekly and biweekly data for 3 subjects over the course of a 10 month period. At two points during the 10 month period the resolution increases to daily samples as the people begin taking a supplement. I have been considering a percentage of supplement that is (total supplication/total all s...
g67696
[ 0.036773089319467545, -0.04496690630912781, -0.003178809303790331, -0.06351934373378754, -0.01628791354596615, -0.092704638838768, 0.05967063084244728, 0.005833205301314592, -0.02028672955930233, 0.0538942851126194, 0.060402438044548035, -0.014336487278342247, -0.008083079941570759, -0.005...
<p>I am a law student researching which factors influence the CSR (corporate social responsibility, <code>GSE_RAW</code>) behavior of companies. As my studies didn't offer any statistics courses, I'm having trouble to understand what type of statistical analysis I should perform on my data. After describing the data, I...
g67697
[ -0.007371110375970602, -0.0023200346622616053, -0.031206311658024788, -0.005346843972802162, 0.06594045460224152, 0.07043372094631195, 0.04970845580101013, 0.03232508525252342, -0.03803148493170738, 0.006620555650442839, 0.01618763990700245, 0.06098341569304466, 0.07697713375091553, 0.0392...
<p>I have an assignment that asks me to explore different series of data with respect to the effects that an incinerator built in 1981 in Massachusetts, has on the price of houses in that area.</p> <p>I have around 30 different sets of data with regards to the houses ranging from 'number of bathrooms', 'distance from ...
g27328
[ 0.004759994801133871, -0.015135694295167923, -0.015259218402206898, -0.03527076169848442, 0.010466172359883785, -0.03910161554813385, 0.04063238948583603, -0.015080672688782215, -0.02895919792354107, -0.017421452328562737, 0.03750159963965416, 0.08602894842624664, 0.0734168067574501, 0.030...
<p>In Steven Pinker's book <a href="http://rads.stackoverflow.com/amzn/click/0670022950">Better Angels of Our Nature</a>, he notes that</p> <blockquote> <p>Probability is a matter of perspective. Viewed at sufficiently close range, individual events have determinate causes. Even a coin flip can be predicted from...
g67698
[ 0.03958286717534065, 0.056232258677482605, 0.004182524513453245, -0.05472220852971077, 0.01495111733675003, 0.0037196637131273746, 0.04579583555459976, 0.024156920611858368, -0.008038366213440895, -0.01611361652612686, -0.021892745047807693, -0.0030219005420804024, 0.06555840373039246, 0.0...
<p>I'm working on a questionnaire that is intended to measure two constructs. There are presently 26 items in the questionnaire -- eleven for construct 1 and 15 for construct 2 -- and each item has five available responses: "strongly disagree" "disagree" "neutral" "agree" "strongly agree".</p> <p>In our first iterati...
g32046
[ 0.018631909042596817, -0.07697898894548416, -0.02535725198686123, -0.06931234151124954, 0.03413713350892067, -0.024307971820235252, 0.037764064967632294, 0.009553240612149239, 0.009879468008875847, -0.0009168919059447944, 0.003112680744379759, 0.03127492591738701, 0.034933123737573624, 0.0...
<p>Here is a section of <em><a href="http://www.cs.ubc.ca/~murphyk/MLbook/pml-print3-ch19.pdf" rel="nofollow">Machine Learning: a Probabilistic Perspective</a></em> by Kevin Patrick Murphy</p> <p><img src="http://i.stack.imgur.com/jatxV.png" alt="enter image description here"></p> <p>I don't understand in (19.18) why...
g27330
[ -0.03177496790885925, 0.007654635701328516, -0.01971045322716236, -0.03162353113293648, 0.036275286227464676, 0.019253259524703026, 0.041652612388134, 0.0009100544266402721, -0.09458549320697784, -0.05465056002140045, -0.02280813828110695, 0.04691958799958229, 0.0763392522931099, 0.0054223...
<p>I'm having trouble understanding how certain combinations of random variables can correlate. The problem is as follows:</p> <p>I have a binary $m \times n$ matrix $A$ of full rank (over the finite field $\mathbb{F}_2$ with two elements), where each row has exactly $w$ $1$'s (i.e., their weights are all $w$).</p> <...
g67699
[ 0.018349606543779373, -0.00001281947515963111, -0.005128734279423952, 0.018872370943427086, 0.006535237189382315, -0.05571276322007179, 0.02246732823550701, -0.04499798268079758, -0.004170653410255909, -0.003906669560819864, -0.055327028036117554, 0.03912520781159401, -0.0017174516106024384,...
<p>I have <strong>some dependent variables</strong> related to the growth of a company having categories like (e.g. for variables indicating net profit, financial turnover etc.) </p> <p>(1) decreasing, </p> <p>(2) stable, </p> <p>(3) increasing and </p> <p>(4) rapidly increasing.</p> <p>Now these variables are <st...
g49782
[ -0.00776296854019165, -0.012793808244168758, -0.02627045102417469, -0.02520693838596344, 0.01794607937335968, -0.011217080987989902, 0.0017010236624628305, -0.014325614087283611, -0.024857623502612114, -0.016661280766129494, 0.038589268922805786, 0.044894713908433914, 0.057124603539705276, ...
<p>I have two arrays of 2D points and I need to estimate their correlation. What formula should I use? Thank you.</p> <p>Example of arrays:</p> <p>X: [[1,5],[2,5],[1,7],[4,1]]</p> <p>Y: [[3,4],[1,6],[4,6],[4,3]]</p>
g67700
[ 0.06968545913696289, -0.0458337627351284, 0.025799069553613663, -0.030101852491497993, 0.0018044464522972703, -0.01856044866144657, 0.024653736501932144, -0.012642495334148407, -0.006082023493945599, -0.009127793833613396, -0.011176429688930511, 0.0810624435544014, 0.01595229096710682, 0.0...
<p>If I am right, you can calculate eta-squared in an ANOVA by:</p> <p>SS (covariate of interest) divided by SS (total)</p> <p>I was wondering if the calculation and interpretation is the same in a General Linear Model (GLM).</p>
g27331
[ -0.004041687585413456, 0.006804384291172028, -0.0035846885293722153, 0.027100102975964546, 0.036994051188230515, -0.004537581000477076, 0.06082145869731903, -0.007343523669987917, -0.03390800207853317, 0.02839890494942665, 0.011564400978386402, -0.004540926311165094, 0.07260376214981079, -...
<p>I have a data set that is essentially of the form of a sequence of pairs:</p> <p>$$\left(\cap T_i, P'(W|\cap T_i)\right)$$</p> <p>The sequence might have duplicate $\cap T_i$'s with different $P'(W|\cap T_i)$'s (where $P'$ denotes an empirical probability). The events $T_i$ are not independent. I would like esti...
g67701
[ -0.05694304779171944, 0.007604418788105249, -0.008207281120121479, -0.029364999383687973, -0.029057107865810394, -0.0460384264588356, -0.01366703025996685, -0.04581696540117264, -0.04568037763237953, 0.04808031767606735, -0.029907358810305595, 0.01778634637594223, 0.019325455650687218, 0.0...
<blockquote> <p>is there any research into or applications of machine learning in number theory? </p> </blockquote> <p>am also looking for (leading examples of) statistical/empirical analysis of number theory questions. also wondering if genetic algorithms in particular have ever been used in these areas. </p> <ul>...
g67702
[ 0.0328981839120388, 0.007072129752486944, 0.032882511615753174, -0.009007210843265057, -0.006104131229221821, -0.009681852534413338, 0.035167351365089417, 0.02037470042705536, -0.01762455143034458, -0.005692886188626289, 0.002133072353899479, 0.024512574076652527, 0.09166320413351059, 0.03...
<p>I have a dataset of measurements (non-normally distributed). Each line of this dataset is composed by two measurements of the same variable in a specific time (i.e. XYY [time, meas1, meas2]). This dataset contains 24 lines.</p> <p>Is it correct to use Wilcoxon Signed-Rank Test to compare these two measurements? Is ...
g67703
[ 0.009341507218778133, -0.042449597269296646, -0.013844143599271774, -0.04199996963143349, 0.042735755443573, -0.035798314958810806, 0.013650389388203621, -0.01205531507730484, -0.029193399474024773, -0.02194538712501526, 0.0007194055942818522, 0.05183390527963638, -0.030064843595027924, 0....
<p>I am trying to understand a linear model obtained with <a href="http://svmlight.joachims.org/" rel="nofollow">SVMlight</a>. The model file contains a number of support vectors and their corresponding $\alpha_i y_i$. Since all $y_i \in \lbrace -1,+1 \rbrace$, I know that $\alpha_i = |\alpha_i y_i|$. </p> <p>From the...
g27334
[ 0.014746100641787052, 0.03420855849981308, -0.008824214339256287, 0.0007721878937445581, -0.00060223852051422, -0.00764313992112875, 0.028293084353208542, 0.03556113690137863, -0.03239225596189499, -0.02750377170741558, -0.0008412352181039751, -0.038316648453474045, 0.03688891604542732, 0....
<p>In ELISA</p> <p>Is it necessary to obtain true concentration level of antibodies for diagnosis? </p> <p>Is there a model allowing us to do so? I know there is a 4-parameters logistic model, but will people conducting tests use it?</p> <p>How about other test, like NAA test? </p>
g67704
[ 0.03680865839123726, 0.02248077467083931, -0.015120931901037693, 0.03056183271110058, 0.024876998737454414, -0.026296788826584816, 0.0076090008951723576, 0.0027138313744217157, -0.0008615542901679873, 0.016190260648727417, -0.013438249006867409, -0.001339095993898809, 0.0431584008038044, -...
<p>this is my first post on Cross Validated so I apologize in advance if I'm not yet familiar with any conventions regarding forum posts. Currently, I'm working on a feature selection task using elastic net in caret and I would like to visualize the feature importance for each model trained in each cross validation ste...
g27335
[ -0.0453670434653759, 0.0039000993128865957, 0.013135130517184734, -0.04911234229803085, 0.11191574484109879, -0.01952924206852913, 0.058078113943338394, -0.009384850971400738, -0.030176999047398567, 0.017046481370925903, -0.054358962923288345, 0.025463756173849106, 0.03949788957834244, 0.0...
<p>When running a model with a categorical predictor, the output contains n-1 p.values where n is the number of levels in the factor. One level is taken to be the reference group.</p> <p>For example: I observed plants in different environments and want to know if the substrate1, substrate2 and substrate3 (categorical ...
g67705
[ -0.022918373346328735, -0.024887671694159508, 0.00349941267631948, -0.031214933842420578, 0.04056396335363388, -0.03396904841065407, 0.061940304934978485, 0.03745945170521736, -0.03680029511451721, 0.021529005840420723, 0.04391028732061386, 0.0025994942989200354, 0.023678800091147423, 0.03...
<p>I have a sequence of events for a number of users. Now I want to see if there is any correlation or a likelihood score between two consecutive events. For example, I have 10 types of events (A1,A2,A3,A4,A5,A6,A7,A8,A9,A10) and the time between two consecutive events. Now I want to find out how likely it is (or what ...
g67706
[ 0.019667986780405045, -0.023296205326914787, 0.014634821563959122, -0.06089909374713898, -0.006301513873040676, -0.05624321103096008, 0.05168700963258743, 0.016204705461859703, -0.018949855118989944, -0.07019668072462082, -0.009530659765005112, 0.022928452119231224, -0.007479589898139238, ...
<p>I have been reading over some statistics notes, and certain things are introduced without motivation (note: I am a mathematician and not a statistician, so my stats knowledge is woefully inadequate, so I know little about the motivation). One of these oddly-introduced things is Spearman's correlation coefficient. So...
g27337
[ 0.011924456804990768, -0.038834765553474426, 0.013831396587193012, -0.07203211635351181, 0.04868504777550697, -0.014465789310634136, 0.0427863709628582, -0.010390067473053932, -0.013842138461768627, -0.04030713066458702, 0.012181609869003296, 0.039598528295755386, 0.0706225335597992, -0.03...
<p>We have conducted an experiment using a two-alternative forced-choice task where listeners must indicate whether they prefer the sound quality of an auditory stimulus in interval A or interval B. These preference judgments are made for different types of signal processing, which are randomized. We have three signa...
g67707
[ -0.01402172353118658, -0.012065471149981022, 0.01454412005841732, -0.06057325005531311, 0.012718684040009975, 0.025900211185216904, 0.009869687259197235, -0.04550502821803093, -0.019887495785951614, 0.0168526042252779, 0.05759608745574951, 0.015438055619597435, -0.0065751769579946995, 0.06...
<p>I am making a web-app that is supposed to help people memorize Japanese kana symbols using <a href="http://en.wikipedia.org/wiki/Flashcard" rel="nofollow">flashcard</a>. How it works at the moment is that on each new flashcard, user is presented with one symbol which gets chosen randomly from a pool of X symbols. Us...
g67708
[ -0.01950260065495968, 0.01951766200363636, -0.0011285507353022695, -0.03506570681929588, 0.017249010503292084, -0.037332579493522644, 0.06932082772254944, 0.013130825944244862, -0.028650490567088127, -0.025143232196569443, -0.012046041898429394, -0.005665275733917952, 0.10690980404615402, ...
<p>I've a dataset of 120 samples in a 10-fold cross validation setting. Currently, I pick the training data of the first holdout and do a 5-fold cross-validation on it to pick the values of gamma and C by grid search. I'm using SVM with RBF kernel. Since I'm doing a ten 10 cross-validation to report precision,recall, ...
g27342
[ 0.03716710954904556, 0.04407062008976936, 0.02372431568801403, -0.0062684048898518085, 0.04968738183379173, -0.029776681214571, 0.04539312422275543, 0.038231197744607925, -0.07337060570716858, 0.015022875741124153, 0.029741300269961357, 0.014156410470604897, -0.007463187910616398, -0.00843...
<p>What type of test would fit my data in this situation?</p> <p>I'm measuring a count variable. Like in a zero-inflated poisson, I have numerous observations that are zeros because of a separate process. But I also have observations that have extremely high outcomes in the count variable because of a distinct process...
g67709
[ 0.023989101871848106, 0.015502256341278553, -0.007507543545216322, -0.05533885210752487, -0.005695239640772343, -0.004545033443719149, -0.00758309755474329, 0.033155377954244614, 0.034279339015483856, -0.08072137832641602, -0.012736081145703793, 0.013514755293726921, -0.02390480414032936, ...
<p>I am using COX PH model to fit a lifetime data set and estimating parameters. By the by I am also simulating data and trying to find out estimates of parameters. Now I want to calculate bias and standard deviation to determine the size of the bias How can I do it? Can anybody give me suggestions and some articles na...
g27345
[ 0.015386573038995266, -0.024269064888358116, -0.013897723518311977, -0.05184362456202507, -0.0113045834004879, 0.0033359911758452654, -0.008681225590407848, 0.04089992120862007, -0.0399157740175724, 0.020386051386594772, 0.020372115075588226, 0.04398886114358902, 0.0578097328543663, 0.0052...
<p>I am really having trouble understanding the intuition behind autocorrelation. I mean why are we even calculating a correlation of some series with itself? Can anybody explain it in lay terms with an everyday example from life? </p> <p>Also, I see that while calculating the ACF, we have to take lags. But how does ...
g67710
[ 0.08596017956733704, 0.005738109815865755, -0.016934918239712715, -0.04196763038635254, 0.01980610005557537, -0.004771362990140915, 0.07981278747320175, 0.015075228177011013, -0.036975495517253876, -0.052530329674482346, -0.010647060349583626, 0.027097288519144058, 0.05668666213750839, 0.0...
<p>I'm doing an education study and I'm trying to see the effect of website usage on quiz scores in a class of college students. There were 30 students in the class and they took 10 weekly quizzes over the course of the semester. They also had a website where they could log in and use a study tool. The website kept ...
g27346
[ -0.025588754564523697, -0.025527318939566612, -0.031543977558612823, -0.039256613701581955, -0.0410781055688858, -0.0456201545894146, 0.061621908098459244, 0.013522988185286522, -0.0027897811960428953, -0.0414828397333622, 0.017165664583444595, -0.011322028003633022, 0.040161021053791046, ...
<p>I was wondering if there was a specific name for this formula and if it is involved in an established statistical process (like how chi-squared tests are for comparing observation classes or t tests are for distributions without a known population stddev), or if this is an original development from the referenced ar...
g44543
[ 0.001225803978741169, 0.019615069031715393, -0.010249693877995014, -0.10677246749401093, -0.01522395946085453, -0.03687141090631485, 0.05756334587931633, 0.030667901039123535, 0.0031224635895341635, -0.006742547266185284, 0.007853207178413868, 0.004892674274742603, 0.1113613098859787, 0.00...
<p>I have sales data which records at what time (by second) and how many were sold. Therefore, the data is count data with around 90-150 sales during a 3-day period. If I agggregated it to the 10 minute interval, I will have around 75% zero observations because for example 100/(24*3*6) = 0.2314815. But I think this is ...
g67711
[ -0.0027210654225200415, 0.008970045484602451, -0.011051413603127003, -0.03752541542053223, -0.03126859664916992, -0.02711058408021927, 0.04321115463972092, 0.033001549541950226, -0.00619293749332428, -0.016150353476405144, 0.0626145601272583, -0.003505687927827239, 0.00930836983025074, 0.0...
<p>I have a large dataset (tens of thousands of predictors) on which I would like to perform feature reduction with the intent of better model-building for prediction. Deep Belief Networks seem to address the problem in such a way that they produce an output that bears some resemblance to that of PCA, i.e. a series of ...
g67712
[ 0.033134445548057556, 0.0019717225804924965, 0.005726512987166643, -0.053156521171331406, -0.010352665558457375, -0.072555772960186, 0.059111181646585464, 0.04197962209582329, -0.07700779289007187, -0.07158129662275314, 0.022060992196202278, 0.01890459656715393, 0.034395113587379456, 0.032...
<p>The R function <code>read.csv</code> works as the following as stated in the manual: "If there is a header and the first row contains one fewer field than the number of columns, the first column in the input is used for the row names." That's good. However, when it comes to the function <code>write.csv</code>, I can...
g67713
[ -0.002808338264003396, -0.03407908231019974, -0.014041711576282978, -0.01279415562748909, 0.09107363224029541, -0.06323237717151642, 0.021404407918453217, 0.02261623740196228, -0.08766712248325348, -0.0025544571690261364, 0.004203297197818756, 0.019778113812208176, 0.018707361072301865, 0....
<p>I am working on a project in which I am using several independent variables to "predict" the values of an outcome using linear regression.</p> <p>In R this is done quite simply as</p> <pre><code>model &lt;- lm(outcome ~ predictor1 + predictor2 + predictor3) fitted &lt;- model$fitted.values </code></pre> <p>I am ...
g27349
[ 0.05267632007598877, -0.10970300436019897, -0.002856010105460882, -0.02734951488673687, -0.0247361920773983, 0.022287409752607346, 0.008227167651057243, 0.02492538094520569, -0.05713910609483719, -0.02021028660237789, -0.0280070211738348, 0.04938376694917679, -0.005814270582050085, -0.0257...
<p>I have collected data on gas fluxes from plots of soil subjected to 5 different treatments ("D2", "K2", "M", "N", and "O2"), which also possessed variable clay contents. The experiment was laid out in a randomized complete block design, with 4 replications. Within each plot, two separate measurements of flux were ...
g67714
[ -0.006934695411473513, -0.05640489235520363, -0.00864897109568119, -0.06146213784813881, -0.023479316383600235, -0.004550162237137556, 0.06109316274523735, -0.01084907166659832, -0.026889320462942123, -0.048472773283720016, -0.028879284858703613, 0.00705825537443161, 0.04340866208076477, -...
<p>I am trying to understand Mixture Markov Models in order to cluster a set of sequences that do not necessarily all have the same states occurring in them. </p> <p>If I have several sequences that I am trying to fit a Mixture Markov Model to, how do I go about the fact that some of the chains contain a part of all p...
g67715
[ -0.0461154580116272, -0.020555876195430756, 0.006043638102710247, 0.005195298232138157, -0.019749442115426064, -0.008386031724512577, 0.027307379990816116, 0.0723143219947815, 0.004289752338081598, 0.013363339938223362, -0.04644927382469177, -0.010350006632506847, 0.0472041592001915, 0.016...
<p>I have a model with a binary dependent variable (DV) and 5 independent variables, all of which are matched (each person, twice).</p> <p>I think since these matched INDEPENDENT variables can be considered "repeated-measures", <em>generalized estimating equations</em> (GEE) is the best approach here. However, I have ...
g27353
[ -0.018785733729600906, -0.02549455128610134, 0.0018880116986110806, -0.02622038684785366, -0.010620485991239548, -0.007087448611855507, -0.004644049797207117, -0.037456609308719635, -0.024736875668168068, -0.010075508616864681, -0.043598271906375885, 0.015757659450173378, -0.0799317061901092...
<p>I would like to compare two measurements of a variable (anxiety) on the same subjects at different times. I was planning on using the paired samples t-test in SPSS, but I believe the variables are ordinal, since the questions were scaled 0,1,2,3. How can I compare them?</p>
g67716
[ 0.010480811819434166, -0.06986331939697266, -0.012328529730439186, -0.08795232325792313, -0.027851520106196404, -0.019924355670809746, -0.022865349426865578, -0.02284802868962288, -0.007414534687995911, 0.020356977358460426, 0.022537769749760628, 0.024609200656414032, 0.010498376563191414, ...
<p>I have done behavioral experiments,and have no clue even how to start making statistics on the data.</p> <p>Here is the description of the experiment:<br> Mice are subjected to an experimental task where they have to distinguish stripe patterns of various contrasts and width. It is known that at a certain spatial f...
g67717
[ 0.01623215712606907, -0.04037880897521973, -0.00047901467769406736, -0.058740679174661636, 0.008834119886159897, -0.025654654949903488, 0.009209535084664822, -0.0012100536841899157, 0.010906488634645939, -0.02997577376663685, 0.00015062830061651766, 0.07334337383508682, 0.023069193586707115,...
<p>I think I am confused with this thing. </p> <p>If we have a 3 dimension Gaussian then the MLE estimate for $\mu$ is a vector with 3 element</p> <p>$$\mu(1)' = \frac{1}{n}\sum_{j = 1} ^ n x_j\text{ and so on }\mu(2)\text{ for }y\text{ and }\mu(3)\text{ for }z$$</p> <p>also $\sigma$</p> <p>$$ \sigma(1)' = ...
g67718
[ 0.00677412049844861, -0.025387076660990715, -0.014733663760125637, -0.0050132605247199535, -0.013318415731191635, 0.012223518453538418, 0.010845317505300045, 0.008529848419129848, -0.025027550756931305, 0.031700991094112396, -0.02098557911813259, 0.06402694433927536, -0.009971189312636852, ...
<p>I have annual temperature data from a variety of weather stations in the Caribbean and I want to be able to show statistically that the trends for each station are significant, either positive or negative or no trend. </p> <p>I can obviosly plot the data and fit a line, but I want to make a stronger argument tha...
g67719
[ -0.002556425519287586, 0.0036268983967602253, -0.01716241054236889, -0.03132173418998718, -0.04035991430282593, -0.013556232675909996, 0.048899680376052856, -0.002103711711242795, 0.00400360906496644, -0.030696604400873184, 0.07778523117303848, -0.010546963661909103, 0.07349349558353424, 0...
<p>I have a set of count data that I have fitted both a linear model to and a Poisson generalized linear model. The mean of the raw data is 233.375 and the standard deviation 279.983. I have been surprised when I fit a Poisson glm in R that the intercept = 5.53865. A negative bionomial glm in R gives an intercept of...
g67720
[ 0.04918677359819412, -0.027625221759080887, -0.016996823251247406, -0.027165967971086502, -0.010083739645779133, 0.014491568319499493, 0.0029584846924990416, -0.018521925434470177, -0.07878822088241577, -0.024248644709587097, -0.01178878452628851, -0.016871018335223198, -0.025653991848230362...
<p>Suppose I have a study of 3031 people that obtains responses to various questions (95% CL). One of the questions (Q1a) gets a yes response from 616 of the people. Of those 616, only 34 have a QualityB (the remaining 582 don't) that is dependent on a yes answer to (Q1a).</p> <p>When determining the margin of error ...
g67721
[ 0.029828907921910286, -0.0035967351868748665, -0.0032902166713029146, 0.015136467292904854, -0.010631714947521687, 0.00980557780712843, -0.006135767791420221, 0.00470453966408968, 0.004138253629207611, -0.018832549452781677, 0.05702131241559982, 0.008947882801294327, 0.021128863096237183, ...
<p>I have a philosophical question regarding omitted variable bias.</p> <p>We have the typical regression model (population model) $$ Y= \beta_0 + \beta_1X_1 + ... + \beta_nX_n + \upsilon, $$ where the samples are from $(Y,X_1,...,X_n)$, and then a bunch of conditions by which the OLS estimates behave quite well.</p>...
g67722
[ 0.017956221476197243, -0.05463914945721626, 0.005960336420685053, 0.0004923483356833458, 0.02010977268218994, 0.0025928134564310312, 0.028491457924246788, 0.04410889744758606, -0.009821679443120956, 0.01918927952647209, 0.04597178474068642, 0.012296493165194988, -0.012734652496874332, 0.04...
<p>I have a question regarding the interpretation of the whiskers of a boxplot. I have read the following: "On the top and bottom of the rectangle, the “whiskers” show the range of 1.5 times the distance between the 0.25- and 0.75-quantiles"¨, but do not entirely understand what is meant with "distance".</p> <p>It can...
g67723
[ 0.016761917620897293, 0.026376625522971153, -0.015826759859919548, -0.06678392738103867, -0.026606500148773193, 0.04562970995903015, 0.013428245671093464, -0.0449858158826828, -0.07813754677772522, -0.03213886171579361, -0.00030874231015332043, -0.005563829094171524, 0.055115584284067154, ...
<p>So we have arithmetic mean (AM), geometric mean (GM) and harmonic mean (HM). Their mathematical formulation is also well known along with their associated stereotypical examples (e.g., Harmonic mean and it's application to 'speed' related problems).</p> <p>However, a question that has always intrigued me is "how do...
g27363
[ 0.006773029454052448, 0.018322961404919624, 0.002011816017329693, -0.009107730351388454, 0.049966469407081604, -0.020347774028778076, 0.02500568889081478, -0.014115561731159687, -0.05313251540064812, -0.012882640585303307, 0.012925508432090282, -0.022883666679263115, 0.04960234835743904, 0...
<p>I have a data set that's 200k rows X 50 columns. I'm trying to use a <code>knn</code> model on it but there is huge variance in performance depending on which variables are used (i.e., <code>rsqd</code> ranges from .01 (using all variables) to .98 (using only 5 variables)).</p> <p>This kind of compounds my problem...
g67724
[ -0.0314677357673645, -0.020446738228201866, -0.0020690003875643015, 0.003389249090105295, 0.005498285870999098, -0.04242788627743721, 0.0038803943898528814, 0.01606210134923458, -0.05800488218665123, -0.028895672410726547, 0.02514551766216755, 0.0460028275847435, 0.039530713111162186, 0.02...
<p>I'm trying to obtain an estimation of the uncertainty related to an analytical method: my function is just a linear regression $f: y=ax+b+ \epsilon$ with $y_i=\frac{R_i}{C}$, both $R$ and $C$ are affected by a measured uncertainty, $s_R$ and $s_C$ respectively.</p> <p>I want to calculate the total uncertainty with ...
g67725
[ -0.0008094095974229276, 0.00767081743106246, -0.007578944321721792, 0.026123514398932457, -0.0033825228456407785, -0.061865244060754776, 0.05058363825082779, 0.0017343978397548199, -0.055195894092321396, -0.0032747252844274044, -0.02780282497406006, 0.0692935436964035, 0.008435196243226528, ...
<p>Suppose I've got an 80/20 split between modeling/validation observations. I've fit a model to the modeling data set, and I'm comfortable with the error that I'm seeing on the validation data set. Before I roll out my model for scoring future observations, is it appropriate to combine the validation back with the mod...
g27368
[ 0.014079911634325981, -0.052338190376758575, 0.0047851381823420525, -0.0319475419819355, 0.03003563918173313, -0.004806701559573412, 0.0070146783255040646, 0.02807030826807022, -0.022019904106855392, -0.019771747291088104, 0.03657464683055878, 0.012214739806950092, 0.04980050027370453, 0.0...
<p>I want to fit a linear model of $y$ on $x$ with respect to a grouping factor and with respect to a covariance structure for the dependent variable within groups. I have a dataset similar to the following:</p> <pre><code>y1 &lt;- rnorm(25) y2 &lt;- y1 + rnorm(25) y3 &lt;- y2 + rnorm(25) y4 &lt;- y3 + rnorm(25) y &lt...
g67726
[ -0.025578664615750313, -0.06134864315390587, -0.015207755379378796, -0.05077521130442619, 0.01912594772875309, 0.011576192453503609, 0.06433993577957153, -0.027075378224253654, -0.06746741384267807, -0.006214343011379242, 0.016404196619987488, 0.018026204779744148, -0.007329338230192661, -...
<p>Regarding fitting a Weibull two parameters probability density function (pdf), with the <code>fitdistr</code> from MASS package, in R:</p> <p>1 - What is the iteration algorithm/method used for scale and shape Maximum Likelihood Estimation (MLE)?</p> <p>I used to think it was Newton-Raphson, but after looking <a h...
g27370
[ 0.06331527233123779, -0.08574268966913223, 0.0011031732428818941, -0.018699221312999725, -0.031521353870630264, 0.016439924016594887, 0.01433898601680994, 0.03833119571208954, -0.0926860123872757, 0.05334443598985672, -0.04613953456282616, -0.04235444590449333, 0.10890605300664902, 0.07145...
<p>I have this (I think) simple problem, which I guess is just a generalization of the Chernoff bound to Bernoulli schemes. Assume I have a bowl with N balls with R different colors. The balls are not necessarily evenly distributed. How many balls do I need to sample (with replacement) in order to decide with confidenc...
g67727
[ 0.02862253598868847, 0.02527088299393654, 0.01666022278368473, -0.05219443887472153, 0.06526800990104675, -0.02948019467294216, 0.02978677675127983, -0.0007277870899997652, 0.0034856884740293026, 0.018573325127363205, -0.03858359530568123, 0.04059530422091484, -0.006696611642837524, 0.0391...
<p>I am running a Market Mix model. There is a general practice in the industry to create an ad stock variable for media variables (like TV). I came across polynomial distributed lag model. I was thinking to used polynomial distributed lag instead of creating Adstock variables. Can anyone tell me whether should I move ...
g67728
[ 0.02938731014728546, -0.03358905389904976, -0.014552797190845013, -0.03330237418413162, 0.03975553810596466, 0.03971395641565323, 0.0008180929580703378, -0.03232879564166069, 0.01697470247745514, -0.013701842166483402, 0.04986640810966492, 0.03865622729063034, -0.017309829592704773, 0.0168...
<p>I am reading an old article on Information Value Theory and to properly understand the material, I need to get my head around the following inferential concept where <strong><em>u</em></strong>, <strong><em>v</em></strong> are random variables and <strong><em>S</em></strong> is the state of information.</p> <blockq...
g67729
[ 0.03891393542289734, 0.032332535833120346, -0.015773100778460503, 0.04047813639044762, -0.01981557533144951, -0.02169077657163143, -0.016443343833088875, 0.04592389613389969, 0.00433899974450469, -0.01018150057643652, -0.009592670947313309, 0.016302261501550674, 0.023018423467874527, 0.000...
<p>I'm wondering why in Generative learning algorithm, they try to maximize the probability</p> <p>$\prod_{i=1}^np(x^{(i)}, y^{(i)})$</p> <p>While in Discriminative learning algorithm, it is</p> <p>$\prod_{i=1}^np(y^{(i)} | x^{(i)})$</p> <ol> <li><p>What is the reason of maximizing these terms?</p></li> <li><p>Why ...
g67730
[ 0.0306955948472023, 0.01101713441312313, 0.018416667357087135, 0.041764140129089355, 0.05894098058342934, -0.0318671353161335, 0.014680534601211548, 0.035741038620471954, -0.05562916770577431, -0.0004705011087935418, -0.06320768594741821, 0.061476558446884155, 0.07643898576498032, 0.034089...
<p>In R, usually one performs a generalized additive model like so:</p> <pre><code>library(mgcv) x &lt;- gam(depvar ~ s(indvar1) + s(indvar2) + parametricvar) </code></pre> <p>Say I want to explore the non-parametric interaction of <code>indvar1</code> and <code>indvar2</code>.</p> <p>Is the following kosher? Are th...
g49528
[ -0.04346858710050583, -0.007620389573276043, -0.0015578239690512419, -0.01773376762866974, 0.018215853720903397, 0.024205287918448448, 0.05142473056912422, 0.003477622987702489, -0.050888996571302414, -0.006161926779896021, 0.004589930176734924, -0.00882768165320158, 0.0434233732521534, 0....
<p>Given an ARMA model and a historical time series, I'm trying to create a set of $n$ forecast scenarios, where each scenario $s$ is a potential future hourly time series $x_s[t]$, with a given probability, $p_s$. I'm familiar with how to generate an ARMA point forecast for a given horizon - how do you extend this the...
g38158
[ 0.0017933804774656892, 0.0161232128739357, 0.013497555628418922, 0.007053580600768328, -0.03187768906354904, -0.018486041575670242, -0.02035253494977951, -0.0351850762963295, -0.03779546171426773, 0.028700023889541626, 0.0006053298711776733, -0.02776772528886795, 0.008392130956053734, 0.04...
<p>I am working with some data that has been classified by domain experts. However, the classification they use is not 100% accurate. How can I deal with data that may not be correctly classified?</p> <p>Are there any models which are more resilient to data that are not classified with 100% accuracy? Does such a class...
g37826
[ -0.008935850113630295, -0.024006474763154984, 0.009296712465584278, -0.018969545140862465, 0.04054214805364609, 0.031670015305280685, 0.01811343990266323, 0.02225026860833168, 0.005510871298611164, -0.026343122124671936, 0.04006627947092056, 0.013128302991390228, 0.07771722972393036, -0.03...
<p>This question is a follow up to <a href="http://stats.stackexchange.com/questions/24595/how-to-correctly-treat-multiple-data-points-per-each-subject">the question I asked yesterday</a>. </p> <p>Here is the current situation again. I have data for a within subject measurement, where each variable is measured repeate...
g27378
[ 0.010647664777934551, -0.03469885140657425, 0.009624408558011055, -0.04742325097322464, -0.03673126921057701, -0.0070615168660879135, 0.03531039506196976, -0.012581057846546173, -0.015463934279978275, -0.000681391335092485, -0.007003321778029203, -0.01089294720441103, -0.029943622648715973, ...
<p>Suppose blood pressure is a continuous outcome variable and you run a linear GEE with following predictors: age (years), weight (lbs), and smoking (yes/no). How would you interpret the coefficients for these predictors? Would it be the same as in "regular" linear regression?</p>
g67731
[ 0.008340292610228062, -0.0846179723739624, -0.007286434061825275, -0.024895671755075455, 0.0013045279774814844, -0.038592733442783356, 0.060281381011009216, 0.019327437505126, -0.03844088688492775, -0.05764983221888542, 0.020572246983647346, 0.02175169438123703, 0.021431492641568184, -0.04...
<p>I want to estimate the parameters that minimize a multivariate function with noise based on realized observations.</p> <p>As a simple example, say I have observed the univariate sample below:</p> <p><img src="http://i.stack.imgur.com/drzJH.png" alt="enter image description here"></p> <p>The samples were generated...
g40355
[ 0.0707794576883316, -0.0742533802986145, -0.0060702539049088955, -0.020040806382894516, -0.028515173122286797, -0.05213728919625282, 0.01909792609512806, -0.011481462977826595, -0.04744100570678711, 0.02307969518005848, -0.03787043318152428, -0.0301863644272089, 0.05859200283885002, 0.0328...
<p>I'm having an argument with a colleague (neither of us have a strong statistical / research methods background) on whether we should randomize questionnaire layout.</p> <p>The survey in question is a feedback forms on teacher performance which are distributed for high school pupils. So one pupil gets up to 20 surve...
g27381
[ -0.003925866447389126, 0.0215486828237772, -0.009937314316630363, -0.04895814508199692, 0.030757062137126923, -0.0033408370800316334, 0.057483796030282974, -0.005903301760554314, 0.03028612770140171, -0.03832783177495003, 0.11079622060060501, -0.06257747113704681, 0.007064661011099815, 0.0...
<p>I have two years of data which looks basically like this:</p> <p>Date <strong><em>_</em>__<em></strong> Violence Y/N? _</em> Number of patients</p> <p>1/1/2008 <strong><em>_</em>___<em></strong> 0 <strong></em>__<em>_</em>__<em>_</em>____</strong> 11</p> <p>2/1/2008 <strong><em>_</em>__<em>_</em></st...
g27382
[ 0.04469757899641991, -0.04854005575180054, -0.01837463304400444, -0.06279730051755905, 0.014808840118348598, -0.024713722988963127, 0.05513414368033409, 0.02309555374085903, -0.02428177185356617, -0.07392202317714691, 0.0468137226998806, 0.00547837233170867, 0.0572708398103714, -0.03656994...
<p>I have two time series, series1 and series2. My aim is to find <strong>how much Series2 is different from Series1, automatically/quantitatively</strong>.<br> Image can be seen in its original size by <a href="http://img713.imageshack.us/img713/3401/image001eg.gif" rel="nofollow">clicking here</a>. <img src="http://i...
g67732
[ 0.0029253249522298574, -0.043179165571928024, -0.00679815374314785, -0.015792859718203545, -0.04551689326763153, -0.04963406175374985, 0.02729865163564682, 0.03641119971871376, -0.036651358008384705, 0.032157447189092636, -0.012927466072142124, 0.031902119517326355, 0.031516965478658676, -...
<p>I have a certain confusion. I refer to this <a href="http://arxiv.org/pdf/0903.5463v3.pdf" rel="nofollow">paper</a>.</p> <p>Let's say I have $p$ variables $x_1, x_2, \dots, x_p$ which follow a multivariate Gaussian distribution. Now suppose I have $N$ examples or samples from this distribution. However, some of the...
g67733
[ 0.0331147126853466, -0.04150611534714699, -0.016107574105262756, -0.051851093769073486, 0.004498861264437437, 0.029085449874401093, 0.004936256445944309, 0.004110770765691996, -0.009186020120978355, 0.016983071342110634, -0.03359946236014366, 0.034983791410923004, 0.03674841672182083, 0.04...
<p>Please see <a href="http://stats.stackexchange.com/questions/3708/forecasting-unemployment-rate">question</a> for the background.</p> <p>Following the advice of @kwak and @Andy W, I have decided to use the package <strong>plm</strong> in <code>R</code> to fit my model. Here an excerpt of the data <code>df</code> (t...
g13358
[ 0.0061960844323039055, -0.03633852303028107, -0.02658992074429989, -0.02475603111088276, 0.006705212406814098, 0.027922023087739944, 0.05139488726854324, 0.061341650784015656, -0.01667344942688942, -0.03063591942191124, 0.003984082955867052, 0.042108550667762756, 0.03952475264668465, -0.02...
<p>I have two averages +/- strandard deviations of left ventricular mass before and after of physical activity. Before physical activity, left ventricular mass is 150 +/- 20 grams After physical activity, left ventricular mass is 120 +/- 10 grams The left ventricular mass percentage variation, after physical activity ...
g67734
[ 0.016774659976363182, -0.03111823834478855, -0.00006996216689003631, 0.006413430906832218, -0.006554532330483198, -0.024871783331036568, 0.05924583598971367, 0.022384466603398323, -0.010532505810260773, -0.052747733891010284, -0.01731053739786148, -0.027429819107055664, 0.028694214299321175,...
<p>Are there any tools that can format and write to external file output of principal component analysis in Stata? </p> <p>I'm thinking about something that will work in similar vein to [excellent] family of <a href="http://repec.org/bocode/e/estout/index.html" rel="nofollow">estout</a> commands.</p>
g67735
[ -0.007779277395457029, -0.03566985949873924, 0.019194019958376884, -0.05943559482693672, -0.020294204354286194, -0.09989717602729797, 0.025725945830345154, 0.017905713990330696, -0.07896646857261658, -0.02403591386973858, 0.06319554150104523, 0.04000598564743996, 0.07198069244623184, -0.02...
<p>This may be a basic question, but I was wondering why an $R$ value in a regression model can simply be squared to give a figure of explained variance?</p> <p>I understand that $R$ coefficient can give the strength of a relationship, but I don't understand how simply squaring this value gives a measure of explained ...
g38159
[ 0.016424529254436493, 0.008917657658457756, -0.04573956876993179, -0.0262993685901165, 0.03329584747552872, 0.0033276104368269444, -0.004702146630734205, 0.038287851959466934, -0.00519960792735219, -0.0630994439125061, -0.019550487399101257, 0.03433700650930405, 0.032008249312639236, 0.008...
<p>I have two sets of data, and I want to know if the second set is sufficiently different from the first to be considered different.</p> <p>More specifically, I have a sample set A from a number of pixels in the vicinity of point X in an image, and another sample B of pixels in the vicinity of point Y in the same ima...
g37566
[ 0.018244164064526558, -0.03198089078068733, 0.006140456069260836, -0.049251507967710495, -0.02173854410648346, -0.03275076672434807, -0.0025349350180476904, 0.0022151675075292587, -0.030977223068475723, -0.00772465206682682, 0.04230865463614464, 0.06380610167980194, 0.04932299256324768, -0...
<p>1) How to find important features in RandomForest classifier (in sklearn) with high statistical significant?</p> <p>2) The input data I have is unbalanced which I simply repeat data to compensate that. When I do shuffling, some of these repeated data go to training and some goes to test which definitely increase th...
g27389
[ -0.042562324553728104, -0.010073321871459484, 0.005531656555831432, -0.038740385323762894, 0.040849074721336365, -0.024803053587675095, 0.04294874891638756, 0.05898980423808098, -0.014253656379878521, -0.0028947351966053247, -0.05588320642709732, 0.03518315777182579, 0.058506693691015244, ...
<p>I am using a survival model to predict membership counts. Other than predicting signups that are being added, we are trying to use a coxph model to predict accounts that will get canceled.</p> <p>In our problem, there are two types of "deaths" that can happen. The company can terminate the account because the cus...
g11392
[ -0.004110885784029961, -0.052815139293670654, 0.023786650970578194, 0.027588894590735435, 0.01878076232969761, -0.058815084397792816, 0.02890460193157196, 0.046984974294900894, 0.002690451219677925, -0.0010801503667607903, -0.024953093379735947, 0.03804371505975723, 0.08422422409057617, 0....
<p>I am looking for some open source or an existing library I can use. As far as I tell the glmnet package isn't very easily extensible to cover the non negative case. I may be wrong, Any one with any ideas much appreciated.</p> <p>By non-negative I mean that all coefficients are constrained to be positive (> 0).</p>
g27391
[ -0.008803839795291424, 0.008684049360454082, 0.010775567032396793, -0.030527615919709206, 0.006938280072063208, -0.05492502823472023, -0.007417659740895033, -0.030243758112192154, -0.039560165256261826, -0.03215350955724716, 0.022837191820144653, 0.03681949898600578, 0.015903035178780556, ...
<p>Are there any well-known results/tools/literature on using bagging and random feature subset selection for regression or SGD-based methods? </p>
g27393
[ -0.01767665520310402, -0.025866521522402763, -0.004179993644356728, -0.016543779522180557, -0.052650004625320435, -0.024878311902284622, 0.026413628831505775, 0.0001937787892529741, -0.01268092729151249, -0.002841916400939226, 0.029252542182803154, 0.005995392333716154, 0.10556918382644653, ...
<p>I have 46 replicate trees I sampled in a 2 year study. My objective is: To estimate the proportion of variation among-trees w/in year, and proportion variation due to among year and tree interaction.</p> <p>Response: 12, 15, 32, 42, 13, 26, 10, 15</p> <p>Year: A, A, A, A, B, B, B, B,</p> <p>Tree: 1, 2, 3, 4, 1, ...
g48073
[ -0.015563692897558212, -0.08414508402347565, 0.011014282703399658, 0.006963119376450777, 0.015269546769559383, -0.008123714476823807, 0.023187214508652687, -0.024121098220348358, 0.04713805019855499, 0.017864305526018143, -0.006367236841470003, 0.016102897003293037, -0.020780812948942184, ...
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="http://stats.stackexchange.com/questions/9664/what-are-examples-where-a-naive-bootstrap-fails">What are examples where a &ldquo;naive bootstrap&rdquo; fails?</a> </p> </blockquote> <p>Perhaps this question will turn out to be a bit soft, but I th...
g49783
[ 0.05003315210342407, 0.05952978506684303, 0.026204684749245644, 0.015472839586436749, 0.015465757809579372, -0.013488193973898888, 0.05111664906144142, -0.05808967351913452, -0.03006933443248272, -0.012874496169388294, 0.05765555426478386, -0.034976765513420105, 0.053668953478336334, 0.066...
<p>I have 2 groups, each containing 20 individuals. For each individual I have a dissimilarity matrix of a number of judged items. I'd like to evaluate whether there is an overall difference between the groups in the semantic networks underlying their judgements. As a first step, I computed 2D MDS spaces for each group...
g48075
[ -0.040339525789022446, -0.04402736946940422, 0.004832199774682522, -0.038742922246456146, -0.020356550812721252, -0.03948663920164108, 0.06509152799844742, 0.07895349711179733, -0.031068377196788788, -0.018559563905000687, 0.013845738023519516, 0.015700574964284897, 0.06484641134738922, 0....
<p>Am looking for pointers to publicly(online) available high-dimensional regression datasets for evaluating my research work. </p> <p>By high-dimensional, am looking for regression datsets with the number of predictor variables (features) ranging anywhere from 50 to 2000.</p> <p>Most of the regression datasets on st...
g67736
[ -0.008430070243775845, 0.010718973353505135, -0.0012948261573910713, -0.060337815433740616, -0.03431518003344536, -0.012707742862403393, 0.029269665479660034, 0.07018612325191498, -0.06155262887477875, -0.03467974811792374, 0.005760891363024712, 0.03020385652780533, 0.027546489611268044, -...
<p>In an experiment with continuous-value random variable, e.g. measuring length of cucumbers. I would like to compare the probability of getting a particular length range in two different conditions. e.g. $P1=P(0.1&lt;L&lt;0.2, fertilizer A)$, $P2=P(0.1&lt;L&lt;0.2, fertilizer B)$.</p> <p>So I create 2 histograms for...
g27397
[ 0.03290452063083649, 0.01442551426589489, -0.01928735338151455, -0.05899089574813843, 0.0011740588815882802, -0.02309604175388813, 0.035440295934677124, -0.0032315021380782127, -0.07574913650751114, -0.03748396784067154, 0.01890597864985466, 0.012176590971648693, 0.03356393426656723, 0.045...
<p>On the website for CRF++ <a href="http://crfpp.sourceforge.net/" rel="nofollow">http://crfpp.sourceforge.net/</a> they mention that marginal probabilities can be output for each possible label. My question is, in CRF theory, what's the formula for this marginal probability? I think it's:</p> <p>$$p_{_\theta}(Y_{_j}...
g27400
[ -0.0018220600904896855, -0.03125903382897377, -0.01503646932542324, -0.035570453852415085, -0.014315159991383553, -0.003090268699452281, 0.07392001897096634, 0.04929543286561966, -0.058297742158174515, -0.032317865639925, 0.020283037796616554, 0.061436012387275696, 0.037896204739809036, 0....