question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>If there are multiple possible approximations, I'm looking for the most basic one.</p>
g65266
[ 0.03930426016449928, 0.018569087609648705, -0.01042077224701643, -0.022855041548609734, -0.02790808491408825, -0.04453643411397934, -0.038117896765470505, -0.005354053806513548, -0.06489097326993942, -0.03033137507736683, -0.006794126238673925, 0.004186003468930721, -0.019423797726631165, ...
<p>Is there an analytic method to compute the expected first hitting time of an IID jump process with exponentially distributed time steps and jump sizes given by a Poisson random variable multiplied by a random variable that takes values {1,-1} with probability 0.5?</p>
g23776
[ 0.014285493642091751, 0.049012068659067154, -0.011738195084035397, -0.023686643689870834, -0.003606571350246668, -0.0023565315641462803, 0.014376061968505383, -0.03262114152312279, -0.025085240602493286, -0.008529294282197952, -0.018769659101963043, -0.004414753522723913, 0.03510624915361404...
<p>My Linear Models professor said that it is possible sometimes to obtain two different linear models for the same data, such that the models cannot be compared to determine which is better. How can this be?</p> <p>As an example he mentioned models that have different scales. What does it mean for models to have dif...
g65267
[ 0.04345105215907097, -0.024367494508624077, 0.011871078982949257, 0.010912710800766945, 0.07937826961278915, 0.02452770061790943, -0.0412619523704052, -0.021785778924822807, -0.06346215307712555, -0.02970345877110958, -0.047478727996349335, -0.01822933927178383, 0.04284558445215225, -0.002...
<p>We are using a mixed model to describe trends as subjects age. We have multiple measurements per subject of a continuous outcome. We also adjust for the age at entry into the study. It is of interest if early entry and long follow-up are associated with different outcomes than late entry and short follow-up (i.e....
g65268
[ -0.03693290799856186, -0.017017312347888947, 0.008636797778308392, -0.027326714247465134, -0.03912939503788948, 0.026256388053297997, 0.07490766793489456, 0.0027275264728814363, 0.034397270530462265, -0.028745228424668312, 0.012832791544497013, -0.060836952179670334, 0.032098010182380676, ...
<p>I understand that there is a function in R called <code>poly()</code> that can generate orthogonal polynomials--useful for applying on input variables before running a predictive model.</p> <p>My question is that what is the role of categorical variables when we generate polynomials? Are they to be excluded?</p> <...
g65269
[ -0.0050453743897378445, -0.036560412496328354, 0.005982349626719952, -0.0468832366168499, 0.005237719509750605, 0.006663030944764614, 0.033076636493206024, 0.040389157831668854, -0.020436052232980728, -0.050639551132917404, -0.038843367248773575, 0.07164617627859116, 0.04223757982254028, -...
<p>I have a cell array containing the gender e.g.</p> <pre><code>GENDER = {'Male';'Female';'Male';'Male';'Male';'Female';'Female';'Female';'Male';'Male'}; </code></pre> <p>and another array containing the respective groups e.g.</p> <pre><code>GROUPS = [1; 2; 1; 1; 3; 3; 1; 2; 2; 3]; </code></pre> <p>I would like to...
g65270
[ -0.03031342476606369, 0.018981244415044785, 0.0023657993879169226, -0.07150331139564514, 0.025300953537225723, -0.05037475749850273, 0.018038256093859673, -0.025847213342785835, -0.05947955325245857, 0.026165051385760307, -0.013351392932236195, 0.03377700224518776, 0.075174480676651, 0.079...
<p>I'm trying to train a support vector machine on a set of training data (which is seperate to my testing data).</p> <p><code>training_data</code> has size <code>MxN</code> where <code>M = 10175</code> and <code>N = 102</code></p> <p>Each observation has a label <code>1</code> or <code>0</code>. (118 observations ha...
g28313
[ -0.002804119372740388, 0.026392480358481407, 0.014234672300517559, 0.015594856813549995, 0.018080271780490875, -0.007057000417262316, 0.00328703410923481, 0.04263288527727127, -0.0645042210817337, -0.007929202169179916, 0.016853725537657738, -0.031566448509693146, 0.03888905793428421, 0.03...
<p>For regression with ordered response variable, there are different methods, for example, discriminant analysis, probit or logit model. I am wondering what are the different focuses of the different methods and which one is more often used.</p>
g23779
[ 0.016817262396216393, -0.03484605252742767, 0.002293539233505726, -0.018489796668291092, 0.02477252297103405, -0.03357510641217232, 0.010488839820027351, -0.03816786780953407, -0.023111652582883835, -0.058534763753414154, 0.039247140288352966, 0.009067177772521973, 0.08154573291540146, 0.0...
<p>I'm trying to analyze some data consisting of five randomized parameters and a utility function which indirectly depends on the parameters, by experimentation. That is to say, the parameters of the experiment are chosen randomly, and successes and failures are counted up. I want to find parameters for which the ex...
g23780
[ -0.02396615780889988, 0.026303114369511604, -0.020553618669509888, -0.05723414942622185, 0.012109184637665749, -0.04068891704082489, 0.07614093273878098, -0.020849134773015976, -0.06710967421531677, 0.007923285476863384, -0.0479397214949131, 0.009572865441441536, 0.10564552992582321, 0.058...
<p>Instead of logistic regression when there is a prospectively follow cohort experiencing events there are methods to estimate a relative risk = RR (rather than an odds ratio) eg <a href="http://aje.oxfordjournals.org/content/159/7/702.full.pdf+html" rel="nofollow">http://aje.oxfordjournals.org/content/159/7/702.full....
g65271
[ 0.02492271549999714, -0.03809855505824089, 0.003863151650875807, -0.024516263976693153, -0.017813853919506073, -0.021462425589561462, 0.008151214569807053, 0.05330108106136322, -0.013788511976599693, -0.03127927705645561, 0.018783023580908775, 0.012948155403137207, 0.05449241027235985, 0.0...
<p>I have an experiment where I throw a biased coin were with confidence interval [0.38, 0.42] and confidence level of 0.95 I will get heads. If I get heads then I throw a biased 6-sided die which gives me 1 with probability given in the interval [0.48, 0.52] and confidence level 0.90.</p> <p>What is the probability o...
g65272
[ -0.004220348317176104, 0.025353357195854187, -0.006201825570315123, -0.005609019193798304, -0.0060688890516757965, 0.03268051892518997, 0.033671196550130844, -0.028456207364797592, -0.028805991634726524, -0.041498713195323944, -0.04750346392393112, 0.06619837135076523, -0.004608321934938431,...
<p>So I have collected data for 50 years of my dependent variable (continuous) data (x), independent (continuous) variable (y) across 10 locations. </p> <p>My null hypothesis is that the regression slopes between x and y is homogeneous across 10 locations (i.e. slopes of y against x is similar across all 10 locations)...
g65273
[ 0.043791044503450394, -0.06131381541490555, -0.0073584336787462234, 0.013361429795622826, 0.012456449680030346, 0.04332937300205231, 0.070320725440979, 0.030549390241503716, -0.004840924870222807, -0.053431443870067596, -0.009075257927179337, -0.0006384896114468575, 0.014126923866569996, 0...
<p>I'm doing 10-fold cross validation on a dataset. But in some folds there are edge cases that the denominator in precision-recall calculation is zero (tp + fp =0).</p> <p>What are the correct values for precision and recall in this case? And what is the correct way of doing cross-validation (should I include these r...
g65274
[ 0.029114224016666412, 0.0015076177660375834, 0.015953054651618004, -0.037491653114557266, 0.019442109391093254, -0.04239710047841072, 0.04506472870707512, 0.055650971829891205, -0.0020760358311235905, -0.0005364597891457379, 0.007088236510753632, -0.03882521018385887, 0.042849186807870865, ...
<p>I want to compare two different ratios. When this ratio is close to 1 it shows the better stability in the body. Would you please guide me that which statistical test is better for this situation? Please consider SPSS for answering this question.</p> <p>Here is some information about my situation: My study was cond...
g65275
[ -0.002281316090375185, 0.001837074989452958, 0.0018809030298143625, 0.025824446231126785, 0.01740383170545101, -0.028006386011838913, 0.028706679120659828, -0.02416006661951542, 0.01972375623881817, -0.002311909571290016, 0.009200865402817726, 0.017469940707087517, -0.025939593091607094, 0...
<p>I want to investigate how people (lets say smokers and non-smokers) differ in various characteristics. So I want to perform a binary logistic regression with SPSS. However, my event rate is very low (number of events = 27 and number of non-event = 200). I want to include several predictors: 3 factors, which I gained...
g725
[ 0.0053372690454125404, -0.003915442619472742, 0.023402215912938118, -0.05768605321645737, 0.007144703529775143, -0.057223089039325714, -0.018847621977329254, 0.04724316671490669, -0.03584900125861168, -0.08857735246419907, 0.05391082540154457, 0.035727664828300476, 0.02993612550199032, 0.0...
<p>I have some weekly data about Apple app store ranking of the top apps listed (also of the sub categories such as games, weather, etc.). For example: </p> <pre><code> week1 week2 week3 week4 ... Angry Birds 15 13 1 5 ... Weather Pro ... </code></pre> <p>I am thinkin...
g65276
[ -0.025406917557120323, -0.01244241464883089, -0.022258132696151733, -0.06380534917116165, 0.002639958169311285, -0.03921841084957123, 0.033537574112415314, -0.030884386971592903, -0.03212720528244972, 0.026384610682725906, -0.04848237708210945, 0.04009805619716644, 0.047723013907670975, 0....
<p>I have dataset with assumption that nearest neighbors are best predictors. Just a perfect example of two-way gradient visualized- </p> <p><img src="http://i.stack.imgur.com/7frrm.jpg" alt="enter image description here"></p> <p>Suppose we have case where few values are missing, we can easily predict based on neighb...
g65277
[ 0.015736747533082962, -0.05585470795631409, -0.005229438189417124, 0.0019674364011734724, -0.006932239513844252, -0.0201735682785511, 0.053512755781412125, -0.006795297376811504, -0.04803742468357086, -0.03455688804388046, 0.040994465351104736, 0.027271216735243797, 0.08044849336147308, 0....
<p>I have a presumably simple question. What does this mean: with probability 0.3 variable X is simulated as </p> <blockquote> <p>X~N(0,1).</p> </blockquote> <p>How can I simulate X using this?</p>
g65278
[ 0.013543082401156425, 0.04628593102097511, 0.002579406602308154, -0.03507385402917862, 0.02062460035085678, 0.004001018591225147, -0.04774705320596695, 0.054952993988990784, -0.029375620186328888, -0.023504549637436867, -0.04040272906422615, 0.05355655401945114, -0.004421864170581102, -0.0...
<p>How do computers achieve randomness if they really do ?</p> <p>How to decide whether something is random or not?</p> <p>Is there a measure of randomness?</p> <pre><code> Thanks in advance.. </code></pre>
g65279
[ -0.019334955140948296, 0.021183431148529053, -0.011366592720150948, -0.02728310413658619, 0.04870786517858505, 0.01823853887617588, 0.041048914194107056, 0.060843538492918015, -0.026821516454219818, -0.049883823841810226, -0.05154420807957649, 0.0052258605137467384, -0.013975978828966618, ...
<p><a href="http://code.google.com/p/lasso4j/" rel="nofollow">Lasso4j</a> is a Java implementation of the Lasso L1-constrained fitting for linear regression.</p> <p>I would like to add a non-negativity constraint on the weights, meaning that the non-zero sparse coefficients should be positive.</p> <p>Is there an easy...
g65280
[ -0.015739690512418747, -0.04788852855563164, 0.002591521479189396, -0.06784505397081375, 0.013692974112927914, -0.0037007066421210766, 0.017578573897480965, 0.007731911726295948, -0.08271262794733047, -0.014876571483910084, -0.015184263698756695, -0.00035576781374402344, 0.01305540930479765,...
<p>I have a problem to classify my data that can fit into more than one class at same time. Based on an initial study, I came across "Multi-label classifier" that can classify data into more than one class simultaneously. Or as its internal implementation goes, I can have multiple single-label classifiers.</p> <p>I'm ...
g65281
[ -0.0049129449762403965, 0.022382644936442375, 0.01695837639272213, -0.03623748570680618, 0.012779970653355122, -0.01777697540819645, -0.0027525683399289846, -0.0007601639372296631, -0.025774521753191948, 0.0005350580904632807, 0.036503106355667114, -0.025721091777086258, 0.027334148064255714...
<p>I currently have a modelling issue, specifically in determining how to code the 'time' factor in my analysis, when the DV has already been adjusted for age.</p> <p>My DV is a measure of child development, and it has already been adjusted for child age to produce a <em>z</em>-score. Conversion is not linear as the a...
g65282
[ -0.011709926649928093, -0.049295149743556976, -0.008127503097057343, -0.08600380271673203, 0.01041607279330492, -0.021759377792477608, 0.05519815534353256, 0.02129094861447811, -0.010217638686299324, 0.009853345341980457, -0.00892447866499424, 0.013056387193500996, 0.046817339956760406, 0....
<p>I am trying to match individuals based on monthly consumption and geographic consumption in a dense metro area. Essentially I want to create treatment and control pairs with the having both geo location and consumption (total consumption and consumption pattern) as close to the treatment as possible. At first I wa...
g787
[ -0.00387684628367424, -0.06781498342752457, 0.004991948138922453, -0.057760342955589294, -0.047979529947042465, -0.022093480452895164, 0.08407323062419891, 0.02106606960296631, -0.011633728630840778, 0.03139733895659447, 0.06338383257389069, -0.003626037621870637, 0.05597303807735443, -0.0...
<p>I've got an intuitive block with this. For a binomial problem, the standard deviation of a count is $\sqrt{np(1-p)}$. Conversely, the standard deviation of the sample proportion decreases with increasing $n$ and is $\sqrt{\frac{p(1-p)}{n}}$. I can do the division by $n$ but I don't have a feel why standard deviatio...
g65283
[ 0.009641553275287151, 0.0630635917186737, -0.013182755559682846, -0.011596143245697021, 0.04614629969000816, 0.01813543029129505, 0.0164793748408556, 0.008742350153625011, -0.005869333632290363, -0.06495838612318039, -0.012538470327854156, 0.010485274717211723, -0.007116282358765602, 0.015...
<p>When reading the topic modeling tutorial written by Blei, <a href="http://www.cs.princeton.edu/~blei/kdd-tutorial.pdf" rel="nofollow">KDD 2011 tutorial</a> I was confused about a set of diagrams which aim to show the effect of $\alpha$ in Dirichlet distribution.</p> <p>For example, for the plot with $\alpha=1$, wha...
g23792
[ -0.012829555198550224, -0.009368134662508965, -0.03141742944717407, -0.06203506886959076, 0.00157644331920892, 0.027415107935667038, 0.027951691299676895, -0.005236553493887186, -0.03382255509495735, -0.093502476811409, 0.00108805182389915, -0.02106849104166031, 0.09566452354192734, 0.0189...
<p>I frequently use this formula to compare two positive numbers $x$ and $y$ to see if they are "more different" than some threshold:</p> <p>$$ x-y \over \max(x,y) $$</p> <p>It is nice because it is symmetric and bounded to $[-1,1]$ (unlike relative percent difference). I call it a "symmetric percent difference." I s...
g16896
[ -0.01328615378588438, -0.009636390022933483, -0.02153843082487583, 0.004924257751554251, -0.02352006360888481, -0.06525564193725586, 0.033392246812582016, -0.017860185354948044, 0.001107358722947538, 0.03962060436606407, -0.020088164135813713, 0.07090546190738678, 0.0689954161643982, -0.01...
<p>I was learning some probability basics. I am stuck with a problem, that I need your help with in solving.</p> <p>An $e$-fair coin is a coin with probability of head $(\theta)$ in interval $[\frac{1}{2}-e,\frac{1}{2}+e]$. For a Bayesian analysis of the question whether a given coin is $e$-fair, we may assume a unifo...
g3515
[ 0.01929950900375843, 0.030081732198596, 0.0015692205633968115, -0.07500385493040085, 0.007066820748150349, 0.01217211689800024, 0.05959280952811241, 0.005289112217724323, -0.022699272260069847, -0.025776874274015427, -0.008960986509919167, 0.07394370436668396, 0.014182573184370995, -0.0304...
<p>I would like to know what is the difference between Intrinsic dimension and correlation dimension. Searching results say the intrinsic dimension = number of variables used to specify the system in euclidean space. So, what is then correlation dimension? I am aware that correlation dimension is a type of fractal dime...
g16898
[ 0.04023231193423271, -0.048564013093709946, 0.021238181740045547, -0.049821268767118454, -0.040933758020401, 0.03440305218100548, 0.03307865560054779, -0.028264351189136505, -0.07586352527141571, 0.0016087755793705583, 0.009746260941028595, 0.01882479339838028, -0.0030565867200493813, 0.02...
<p>Suppose $X_1,\ldots,X_n$ are random samples of a $U(0,\theta)$ distribution. If $Y_n$ are the largest order statistics of the sample, and $V=\displaystyle\frac{n\bar{X}}{Y_n}$, how can I calculate the probability density function of $V$?</p>
g23797
[ -0.0013817049330100417, 0.021771108731627464, -0.02179606445133686, -0.015491022728383541, 0.025399835780262947, -0.015024025924503803, 0.02470189891755581, 0.02156575582921505, -0.00974100548774004, -0.028897641226649284, -0.02016253024339676, -0.009255213662981987, 0.06696584075689316, -...
<p>We have route-level data (that I cannot share) on monthly bus ridership in New York City, creating a panel $N= 185$, $T=36$. We estimate a fixed effects model and random effects model with R's <code>plm</code> package. (For this MWE, I use the <code>Grunfeld</code> investment data, which illustrates the problems I a...
g23798
[ -0.020256871357560158, -0.06278403103351593, -0.0032646472100168467, 0.014919795095920563, 0.013474308885633945, 0.012586493976414204, 0.04962240159511566, 0.0373758040368557, -0.014754506759345531, -0.01938558556139469, 0.004989208187907934, 0.041477322578430176, 0.05432935059070587, -0.0...
<p>Why is it so common to obtain maximum likelihood estimates of parameters, but you virtually never hear about <em>expected</em> likelihood parameter estimates (i.e., based on the <em>expected value</em> rather than the <em>mode</em> of a likelihood function)? Is this primarily for historical reasons, or for more subs...
g65284
[ 0.013842787593603134, -0.0219622440636158, 0.022011907771229744, 0.052633680403232574, -0.014049594290554523, 0.039134565740823746, 0.018501728773117065, 0.09108239412307739, -0.016475467011332512, -0.03354506194591522, -0.00210706633515656, -0.029231378808617592, 0.07789235562086105, 0.05...
<p>I have a data set that includes life quality indices for many cities. I want to aggregate the indices to the metropolitan level. Since some cities in each metro area are missing, the data set provides a weighting variable, which was calculated based on the inverse of the probability of a city being in a metropolitan...
g65285
[ 0.002422293648123741, -0.03514270856976509, -0.018872803077101707, -0.09193684160709381, -0.03439384698867798, 0.06124885007739067, -0.03913307189941406, -0.002001111628487706, -0.08366385102272034, 0.05709042400121689, -0.015850843861699104, 0.025354592129588127, 0.04028759524226189, 0.00...
<p>I have firing-rate data for neurons ranging from 40-60 in number for various experimental groups. I've seen both mean and median being used in the literature, but without much explanation for the choice. My boss thinks that usually for sample sizes > 4-5, mean is ok to use. But I would like to have a better justific...
g211
[ -0.0017300051404163241, 0.03989655151963234, 0.005191272124648094, -0.039280690252780914, -0.021510383114218712, -0.08258876949548721, 0.002300520660355687, 0.01740957237780094, 0.0034544693771749735, -0.0017524849390611053, 0.03857669606804848, 0.054519426077604294, 0.005230219103395939, ...
<p>Birth interval means time between successive births. I have a birth interval data from DHS survey. If we want to see the effect of familial and socioeconomic co-variates on birth interval. How can we see this? What types of statistical models can be used? </p>
g65286
[ -0.012004999443888664, 0.03398629277944565, -0.026164960116147995, 0.008125686086714268, -0.04266298934817314, 0.03183973580598831, 0.006078837905079126, 0.001832848764024675, -0.019010208547115326, -0.03388570249080658, -0.032686471939086914, -0.0011393929598852992, 0.07736057043075562, 0...
<p>I have a question regarding the use of the dlm CRAN package for forecasting values of a seasonal time series.</p> <p>I've built a dlm model combining a stochastic local level model with a stochastic trigonometric (Fourier representation) seasonal component of period 96 (measurements every 15 mins with a daily cycle...
g726
[ 0.018639229238033295, -0.05112973600625992, 0.037790872156620026, -0.049869388341903687, -0.009329486638307571, -0.02675105817615986, 0.02290504053235054, -0.000046950455725891516, -0.008594785816967487, -0.025661561638116837, 0.03268447145819664, 0.047681957483291626, 0.06335986405611038, ...
<p>I'm trying to understand the calculations behind the centroid method of cluster analysis in SAS's <code>PROC CLUSTER</code>. I am able to calculate the reported distances at each join when I set the options to <code>method=centroid nonorm</code>, but I am unable to figure out how the reported distances at each join ...
g65287
[ 0.03502310812473297, -0.039787255227565765, -0.004363264888525009, 0.007455333136022091, 0.036300383508205414, -0.03003610670566559, 0.04028259217739105, 0.007081503048539162, -0.0663752630352974, -0.01081566046923399, -0.004367399495095015, -0.007611029781401157, 0.048304807394742966, 0.0...
<p>I'm conducting a meta-analysis on two genome wide association studies (GWAS), each consisting of 150 SNPs, for which I computed summary statistics for association. I'm using the R package <a href="http://cran.r-project.org/web/packages/meta/index.html" rel="nofollow">meta</a> and the function <code>metagen</code>. I...
g65288
[ -0.039821892976760864, 0.02448081038892269, -0.017117539420723915, -0.05394710972905159, 0.009554225020110607, -0.039112213999032974, 0.0057176207192242146, 0.01143752783536911, -0.014563549309968948, -0.01021016575396061, -0.006222771015018225, 0.0067472318187355995, 0.052673544734716415, ...
<p>What is the range of attainable correlations for the pair of exponentially distributed random variables $X_1 \sim {\rm Exp}(\lambda_1)$ and $X_2 \sim {\rm Exp}(\lambda_2)$, where $\lambda_1, \lambda_2 &gt; 0$ are the rate parameters?</p>
g65289
[ -0.0046973200514912605, -0.0002766709658317268, -0.01327343937009573, -0.0011951198102906346, 0.059294894337654114, 0.014234086498618126, -0.026917213574051857, -0.031090594828128815, 0.0009029089706018567, 0.02156722918152809, 0.0035258110146969557, 0.05022496357560158, -0.01598880067467689...
<p>Does every Ordinary Least Squares (OLS) regression model have to pass both the Pregibon Test for Linearity (sometimes called link-test) and the Ramsey RESET tests?</p> <p>I am working on an OLS model and it passes the Pregibon test when I include all the variables I wanted without squared terms. However, it fails t...
g43767
[ 0.0070016393437981606, 0.016105100512504578, 0.014485431835055351, -0.04818195104598999, 0.04152916744351387, -0.040993113070726395, 0.004264333751052618, 0.009234183467924595, 0.02748212218284607, 0.0019759724382311106, -0.026749448850750923, 0.041734158992767334, 0.010770111344754696, -0...
<p>Let's say we have a RxC contingency table, with R=C. How could one best repopulate the table such that:</p> <ol> <li>all counts reside in the off-diagonal cells (zero's on the diagonal);</li> <li>marginal frequencies remain the same;</li> <li>the value of Chi square is maximal.</li> </ol> <p>I can imagine a very '...
g23803
[ 0.07960222661495209, 0.016055433079600334, -0.013371632434427738, -0.05196889862418175, 0.021717114374041557, -0.07371970266103745, 0.015544510446488857, 0.04449377954006195, -0.0287481639534235, 0.024095885455608368, -0.00019014034478459507, 0.0352315828204155, 0.045386504381895065, -0.00...
<p>I was reading about BATS (Box-Cox transformation, ARMA errors, Trend and Seasonality) and TBATS (Trigonometric, Box-Cox transformation, ARMA errors, Trend and Seasonality) models. I was wondering whether it's possible to get better forecasts with simpler models like standard Holt Winters than using BATS or TBATS?<...
g65290
[ 0.007798431906849146, -0.044417236000299454, 0.007577367126941681, 0.010284791700541973, 0.004141942597925663, -0.020150499418377876, 0.03908694162964821, 0.020391471683979034, 0.014887770637869835, -0.02356337197124958, 0.030885573476552963, 0.022258399054408073, 0.11818570643663406, -0.0...
<p>I'm running a negative binomial regression to test the intensity of violent events in a given location. One of my X variables has a negative beta coefficient (BC), however the hypothesis behind that variable is a 'negative decline in X contributes to a positive chabe in voilence'. My X variable is vegetation cover ...
g65291
[ 0.04402543604373932, -0.04867048189043999, -0.00759360333904624, 0.01171895768493414, 0.06057552248239517, -0.03164460510015488, 0.022300630807876587, 0.021639622747898102, -0.044645290821790695, -0.04258909076452255, 0.005680722184479237, 0.023695670068264008, 0.013228950090706348, 0.0084...
<p>Hadley Wickham wrote a stellar article called "Tidy Data" (<a href="http://vita.had.co.nz/papers/tidy-data.pdf" rel="nofollow">link</a>) in JSS last year about data manipulation and getting the data into an "optimal" condition in order to perform analysis. However, I was wondering what were best practices in terms o...
g23806
[ 0.03654762730002403, 0.00028200619271956384, 0.003931872081011534, -0.0627124235033989, -0.030694030225276947, -0.048020604997873306, 0.01341364998370409, 0.017326274886727333, -0.05475160852074623, 0.027125224471092224, 0.06848195195198059, -0.01666339859366417, 0.06658066809177399, 0.011...
<p>I have two types of missing data (non-responses and "Don't know or does not apply") and I want to replace only the non-responses (with mean or by using EM or by using Multiple Imputation) and to see if this is a good solution. How can this be done in SPSS? Even in the simplest case, when replacing missing values wit...
g4449
[ 0.021778473630547523, -0.08423804491758347, 0.0077439784072339535, -0.049155764281749725, 0.007637950126081705, 0.009407887235283852, -0.007632829248905182, 0.035804398357868195, 0.005351927597075701, -0.04566291719675064, -0.018848944455385208, -0.014457883313298225, 0.06771039962768555, ...
<p>I suspect that a given coin is not fair, i.e that the probability of heads is not $\frac{1}{2}$. My question is not how we can prove the unfairness, but if we derive a test to check the fairness, How we can evaluate the test?</p> <p>Say, for $n$ number of tosses, the coin always turned up heads. What is the minimal...
g65292
[ 0.05367305874824524, 0.019802875816822052, -0.0027684886008501053, -0.06365010142326355, 0.03974991291761398, -0.023342324420809746, 0.0307504553347826, 0.03394070267677307, 0.002025012392550707, -0.060456205159425735, 0.020190924406051636, 0.05365130677819252, 0.009278406389057636, 0.0102...
<p>I would be really thankful for any hint</p> <p>Let $x_1,\dots x_n$ be a sample from a geometric distribution with probability parameter $\theta$</p> <p>$f(x_i\mid \theta)=\theta(1-\theta)^{x_i}$</p> <p>The likelihood is given by $L(\theta\mid x_i, \dots, x_n)=\prod_i f(x_i\mid \theta)$ Assume we have observed a s...
g65293
[ 0.0362621508538723, -0.004807096440345049, -0.010587427765130997, -0.06892900913953781, -0.02452433481812477, -0.01757178269326687, 0.05705269053578377, -0.03588579222559929, -0.03342108801007271, -0.010802236385643482, 0.030265700072050095, 0.029481982812285423, 0.010032209567725658, -0.0...
<p>Consider a population of independent light bulbs with an exponential lifetime distribution with mean $\mu$. It is claimed that their expected lifetime is 1000 hours. A definition of a <strong>100(1−)%</strong> confidence interval obtained from an observation t0 is the set of all $\mu_0$ which are not rejected in a t...
g65294
[ 0.00006916768325027078, 0.021715642884373665, -0.028373999521136284, 0.016115812584757805, -0.02446647360920906, 0.048927802592515945, 0.012937397696077824, 0.026530520990490913, 0.026192327961325645, -0.0064990404061973095, -0.0022248649038374424, 0.017853913828730583, 0.0315728522837162, ...
<p>Given a two categorization problem, why Bayesian error is concave down as a function of prior $P(w_1)$?</p> <p>$w_1$, $w_2$ are two underlying concepts with prior $P(w_1)$ and $P(w_2)$. We observe the evidence $x$, which is related to $w_1$ and $w_2$ through conditional probability $p(x|w_1)$ and $p(x|w_2)$.</p> <...
g65295
[ 0.03727563098073006, -0.007017119321972132, -0.00975189357995987, 0.0186835378408432, 0.013166159391403198, 0.010011553764343262, 0.0383685901761055, -0.030904710292816162, -0.05886095017194748, -0.0014454172924160957, 0.024583954364061356, 0.05233698710799217, 0.030606072396039963, 0.0489...
<p>I have a combinatorics question. Say you have two sequences:</p> <p>$$X_{1},X_{2},X_{3},\ldots,X_{N_{1}}$$</p> <p>and</p> <p>$$Y_{1},Y_{2},Y_{3},\ldots,Y_{N_{2}}$$</p> <p>How can i pair up elements from the $X$'s with elements of the $Y$'s, such that if I pair up $Y_{1}$ with $X_{3}$, then I can only pair up $Y_...
g65296
[ -0.01808382198214531, 0.04798455536365509, -0.012664830312132835, -0.014674331061542034, 0.0259991604834795, -0.01622822880744934, -0.07573118060827255, -0.014170614071190357, 0.03436753898859024, 0.03983820602297783, -0.05813472718000412, 0.07640092074871063, -0.0025624558329582214, -0.03...
<p>I have data that describes the duration of how long a person views a webpage. This is quite varied and in the context wherein I gathered the data, it was very skewed. People mostly spent short amounts of time in a webpage but sometimes spent a significant amount of time viewing it. I want to discretize the durations...
g23811
[ 0.03361658751964569, 0.028279785066843033, -0.027439141646027565, -0.011228896677494049, -0.04832091182470322, -0.0305615346878767, -0.001691242097876966, -0.026488911360502243, -0.03807057812809944, 0.03708590939640999, -0.03051258996129036, 0.030925577506422997, 0.02805088460445404, 0.06...
<p>Start with a standard deck of 52 cards in some known order; each card can be tagged with its ordinal position in the deck. </p> <p>Then apply a random shuffling algorithm (i.e. Knuth's shuffle). </p> <p>After the shuffle, it is possible for one or more cards to end up in the same ordinal position where they were...
g65297
[ -0.04832810163497925, 0.02966204471886158, 0.0019398065051063895, -0.04215686768293381, -0.028546256944537163, -0.0396549217402935, 0.026906540617346764, 0.06128973513841629, 0.0031024774070829153, -0.00236136419698596, -0.06993857026100159, -0.0011720833135768771, 0.01859770156443119, 0.0...
<p>Why is $k$ called <em>representor of evaluation</em>? From the book "Learning with kernels" by Bernhard Schölkopf we have the following lines (page 33):</p> <blockquote> <p>$\langle k(.,x),f\rangle = f(x)$, in particular $\langle k(.,x), k(.,x')\rangle = k(x,x')$</p> </blockquote> <p>According to the book this i...
g65298
[ 0.0035617935936897993, 0.021465707570314407, -0.018541356548666954, -0.022600438445806503, 0.025380395352840424, 0.0013751275837421417, 0.0038528000004589558, 0.036498259752988815, -0.024524137377738953, 0.01485990360379219, -0.020271362736821175, 0.030665481463074684, 0.07838611304759979, ...
<p>This may seem like a rather simple concept, but I'm trying to get an intuitive understanding of why we divide. Common formulas in statistics that use division are the calculation of the t statistic and variance. A less well known calculation in evolutionary biology that uses division is strength of female preference...
g65299
[ 0.0516192689538002, 0.04945490136742592, -0.018346088007092476, -0.013792721554636955, 0.029110867530107498, 0.014100266620516777, 0.0537685826420784, 0.02308448776602745, -0.0374005101621151, -0.011632421053946018, -0.045462094247341156, 0.0042096772231161594, 0.034558914601802826, 0.0273...
<p>"How large must a class be to make the probability of finding two people with the same birthday at least 50%?"</p> <p>I have 360 friends on facebook, and, as expected, the distribution of their birthdays is not uniform at all. I have one day with that has 9 friends with the same birthday. (9 months after big holid...
g49922
[ -0.004130028188228607, 0.014938604086637497, 0.006968542002141476, -0.013631756417453289, -0.01966835930943489, 0.006352069787681103, 0.039349064230918884, 0.0029061108361929655, 0.02157360129058361, -0.026702413335442543, -0.0432911142706871, -0.04534674435853958, 0.023425869643688202, 0....
<p>Suppose we have two variables $x_1$ and $x_2$ and an interaction term $x_1 \cdot x_2$. Suppose we set the family-wide error rate to $\alpha = 0.05$. For the Bonferonni correction, would be look at $\alpha/2$ or $\alpha/3$?</p>
g65300
[ 0.07359252125024796, -0.027281958609819412, -0.002712019020691514, -0.024198491126298904, 0.009659646078944206, -0.0678323283791542, 0.048170529305934906, 0.0070387329906225204, -0.027361547574400902, -0.052371393889188766, 0.014659859240055084, 0.03440368175506592, -0.002172621199861169, ...
<p>The log-likelihood function for logistic function is $$l(\theta) = \sum_{i=1}^m(y^{(i)}\log h(x^{(i)}) + (1-y^{(i)})\log(1 - h(x^{(i)})))$$, where $$h(x^{(i)}) = \frac{1}{1 + e^{-\theta^Tx^{(i)}}}\,.$$ </p> <p>In order to obtain maximum likelihood estimation, I implemented fitting the logistic regression model usin...
g65301
[ 0.03638748452067375, -0.03936409205198288, 0.0239273589104414, 0.0027952047530561686, 0.019880622625350952, -0.016524139791727066, 0.02686202898621559, 0.017932472750544548, -0.051807306706905365, 0.005413631908595562, -0.03137236088514328, -0.011299818754196167, 0.0657704770565033, 0.0514...
<p>I have a database with the Chilean equivalent SAT for 2010. It shows the highest score achieved by one student that belongs to one school. The scores goes from 100 to 820, and it has been published as a 1-to-100 school ranking. Database also contains several qualitative information of schools (managerial issues, bui...
g65302
[ -0.00775064155459404, 0.009499013423919678, -0.01878351718187332, -0.03535747155547142, 0.03226287290453911, 0.00719402777031064, 0.02882065437734127, 0.03419124707579613, -0.03473908081650734, -0.00156553671695292, 0.04641449823975563, 0.008491870947182178, 0.10788379609584808, 0.01042294...
<p>I'm having trouble following the derivation of the ridge solutions as a sum of vectors in formula 3.47 of <a href="http://www-stat.stanford.edu/~tibs/ElemStatLearn/" rel="nofollow">The Elements of Statistical Learning</a> on pg. 66. It shows the following:</p> <blockquote> <blockquote> <p>$\mathbf{X}\hat{\bet...
g65303
[ -0.011466871947050095, 0.016020361334085464, -0.010783613659441471, -0.0463276281952858, 0.018590934574604034, -0.03863067179918289, 0.051710885018110275, -0.0018971104873344302, -0.02021370828151703, 0.013363680802285671, -0.021772921085357666, 0.04017716646194458, 0.04201901704072952, -0...
<p>I know that these laboratory analysis reports each have a linear regression relationship and two have a positive slope and one has a negative slope. I am taking my first statistics class and want to be able to explain these very well in a research poster I am doing for work. Am I missing any important information? T...
g65304
[ 0.022312426939606667, -0.016588017344474792, -0.022180655971169472, 0.0033563384786248207, 0.06906254589557648, 0.011862172745168209, 0.009721717797219753, -0.03141676262021065, -0.06176556646823883, -0.03543290123343468, -0.009853048250079155, 0.01156571228057146, 0.021648358553647995, 0....
<p>After running Exploratory Factor Analysis in spss v.17 I deleted 4 measurement items which yielded low factor loadings. Now I want to proceed to Confirmatory Factor Analysis to calculate AVE and CR. My Question is should I repeat the EFA to obtain the new factor loadings after deletion of those 4 variables(items) an...
g38426
[ 0.041945409029722214, -0.03984345495700836, 0.01016591489315033, -0.05671466886997223, 0.03505038470029831, 0.001693585654720664, 0.07648064941167831, 0.014169611036777496, -0.028337933123111725, -0.006431036628782749, -0.03755791857838631, 0.002302956534549594, 0.015515049919486046, -0.00...
<p>Recall the perceptron algorithm:</p> <p><em>cycle through all points until convergence</em></p> <p>$\text{if }\, y^{(t)} \neq \theta^{T}x^{(t)} + \theta_0\,\{\\ \quad \theta^{(k+1)} = \theta^{k} + y^{(t)}x^{(t)}\\ \}$</p> <p>I was studying a modification to to the update rule such that the new update rule is:...
g65305
[ 0.05013281852006912, -0.0019498494220897555, -0.03855838626623154, -0.018622085452079773, 0.01854296587407589, -0.0715002492070198, 0.042360879480838776, -0.0041719721630215645, -0.0742349922657013, 0.014654094353318214, -0.03709997236728668, 0.0509074442088604, 0.0723382756114006, 0.07821...
<p>I'm using lmer to analyse my data, building nested models and using anova() to compare them against each other in an incremental way. Now, I know enough to only test a single term at a time (i.e. only one term changes between model 1 and model 2, so that when I compare them with anova I know what question I am answe...
g65306
[ 0.025511791929602623, 0.00404319865629077, 0.01356167159974575, -0.019573071971535683, 0.009713673032820225, -0.008838593028485775, -0.019874142482876778, 0.01759604923427105, -0.02670004777610302, -0.043323807418346405, -0.004936116747558117, 0.030824391171336174, -0.018856799229979515, 0...
<p>I wish to model the number of bugs caused by software development. This is intuitively sort of a Poisson process, however it is overdispersed. One thing we can do in this case is to use a negative binomial distribution (because negative binomial approaches Poisson as <code>r</code> gets larger, or because we might t...
g65307
[ 0.04751766473054886, -0.03835780546069145, -0.012841342017054558, -0.037816230207681656, 0.04978243261575699, -0.003395636100322008, 0.004567227326333523, -0.001157960039563477, -0.08990689367055893, -0.014177915640175343, -0.009729774668812752, 0.0019140476360917091, 0.030715201050043106, ...
<p>My data set consists of columns containing universities in the Boston area, and rows containing zip codes. For each university and zip code, there are two data points: number of students in campus housing, and number in non-campus housing. So that's two independent variables <code>(x, y)</code>, and for each such ...
g65308
[ -0.02117772400379181, 0.04573860019445419, -0.021952208131551743, -0.06505979597568512, -0.023788589984178543, -0.013566223904490471, 0.006021568551659584, -0.02734748087823391, -0.010583845898509026, 0.00000930908299778821, 0.04992824047803879, 0.06451021134853363, 0.04182159900665283, -0...
<p>I want to compare two groups (vectors) having different lengths to see if their distributions differ considerably. However, when I use <code>chisq.test</code>, I get an error due to inequalities of lengths:</p> <pre><code>&gt; chisq.test(factor(Group1), factor(Group2)) </code></pre> <p>results in:</p> <pre><code>...
g65309
[ -0.006967763416469097, -0.0030458252876996994, 0.007287978194653988, -0.041401490569114685, 0.029558338224887848, -0.0353589802980423, -0.00617224769666791, 0.020333517342805862, -0.07573089003562927, 0.006757657043635845, -0.03552061691880226, 0.031348440796136856, -0.05363932624459267, 0...
<p>I've run a multiple linear regression using standardized Betas and a log-transformed dependent variable; the latter transformation is primarily for better approximating linear regression assumptions but it also produces a nifty interpretation (described below).</p> <p>Standardized Betas provide the interpretation: ...
g65310
[ -0.028284629806876183, -0.04148222506046295, -0.0019209786551073194, -0.04222097620368004, 0.024550989270210266, -0.056160420179367065, 0.01405538059771061, 0.06742160767316818, -0.03161361441016197, -0.04892122000455856, -0.06776709854602814, -0.01675521209836006, 0.05837197229266167, -0....
<p>I want to measure the correlations between ratings on different items of a scale. In my sample, there are multiple data points from the same subjects, for each subject to the same extent. I am able to trace the ratings back to the subject who made them. What is the appropriate correlation measure accounting for thes...
g65311
[ 0.003816921031102538, 0.012569625861942768, -0.02750946208834648, -0.0580197311937809, 0.018482893705368042, 0.008904794231057167, -0.010575107298791409, 0.01847916655242443, -0.022938940674066544, -0.032901495695114136, 0.0021854157093912363, -0.007992002181708813, -0.012631443329155445, ...
<p>I have the following data: feces density of a carnivore species subdivided according to sex. I am looking for appropriate test suggestions. I have calculated the density according to main habitat types, topography, and road types. To determine if results are statistically significant, I would believe the Friedman`s ...
g65312
[ -0.019878564402461052, 0.033414870500564575, 0.001440135994926095, -0.04733572527766228, 0.028790920972824097, -0.04412120208144188, -0.026325557380914688, 0.00575257558375597, -0.034997791051864624, -0.012088563293218613, -0.01436689030379057, -0.004116614814847708, 0.04432114586234093, 0...
<p>I am trying to use R to do Kmeans clustering and as most people I ran into the challenge of determining when to finish. I have 10,000 items and potentially 10 times of that down the road. My goal is to create a series of clusters with minimal size (e.g. 50 items per cluster) OR reasonably similar items. In other wor...
g65313
[ 0.0344635434448719, 0.01848675310611725, 0.0026620107237249613, -0.0055046179331839085, -0.04041213169693947, -0.0846184715628624, 0.009457932785153389, 0.025631772354245186, -0.045629195868968964, -0.028250746428966522, -0.008281257003545761, -0.02310817688703537, 0.06422925740480423, 0.0...
<p>In [1] (Page 31,equation 2.12 ) it is claiming that in a graph which is processed by the junction tree algorithm, the joint distribution of the variables could be found by $$ p(x_1, ..., x_m) = \frac{ \prod_{C \in \mathcal{C}} \mu_{C}(x_C) }{ \prod_{S \in \mathcal{S}} [\mu_{S}(x_S)]^{d(S)-1} } $$ In which $d(S)$ ...
g23827
[ 0.00935194082558155, -0.01859883777797222, -0.035039469599723816, -0.013857291080057621, -0.018657848238945007, -0.041933637112379074, 0.02008511684834957, 0.03453558683395386, -0.003778657177463174, 0.0030944449827075005, -0.004013769794255495, 0.009341013617813587, 0.030343148857355118, ...
<p>I have a data frame with several predictors, lets call them <code>pred1</code> through <code>pred3</code>, and a result column. Now I need to specify the right model. I could randomly try:</p> <pre><code>svm.model &lt;- svm(result ~ pred1+pred2+pred3, data = train) # or svm.model &lt;- svm(result ~ pred1*pred...
g23828
[ 0.009363298304378986, -0.004468363709747791, 0.003661839058622718, 0.005816568620502949, 0.022687599062919617, -0.0786999762058258, 0.025700818747282028, 0.005024882964789867, -0.07818164676427841, -0.007125569973140955, 0.022558627650141716, 0.002078272635117173, 0.08646046370267868, 0.02...
<p>People says soft margin SVM use hinge loss function: $\max(0,1-y_i(w^\intercal x_i+b))$. However, the actual objective function that soft margin SVM tries to minimize is $$ \frac{1}{2}\|w\|^2+C\sum_i\max(0,1-y_i(w^\intercal x_i+b)) $$ Some authors call the $\|w\|^2$ term regularizer and the $\max(0,1-y_i(w^\interca...
g23829
[ 0.0240920577198267, 0.007395212538540363, 0.023558475077152252, 0.08427944034337997, -0.02672736905515194, -0.06480428576469421, -0.005228271707892418, 0.02747657522559166, -0.015322820283472538, -0.024836653843522072, -0.036888688802719116, 0.008438392542302608, 0.04305890202522278, 0.043...
<p>I have two measurements of something. You can think of them both as their own curve with known error on each point. They look quite similar, and if I calculate the R2 value it comes out to >0.9. But what I want to be able to calculate is a P value comparing these two curves (i.e., what is the probability that the di...
g65314
[ 0.05063724145293236, -0.04108025133609772, -0.01356466580182314, -0.005625686142593622, 0.01884600520133972, -0.034721385687589645, 0.03920689597725868, -0.007897911593317986, -0.04824716970324516, 0.008378093130886555, 0.005568106658756733, 0.008298548869788647, 0.05580465868115425, 0.010...
<p>I have some detailed data about the commuting patterns of workers. If I know the following 3 things...</p> <ol> <li>The total number of workers commuting from one block to another.</li> <li>The total # and % of manufacturing-sector workers in the origin block.</li> <li>The total # and % of manufacturing-sector wor...
g65315
[ -0.055176522582769394, 0.03763604909181595, -0.008360257372260094, 0.00581149198114872, 0.010103246197104454, -0.08073238283395767, 0.03505557030439377, 0.011144011281430721, -0.012045699171721935, 0.02731572836637497, -0.03579355403780937, -0.004583175294101238, 0.101162850856781, -0.0345...
<p>I'm trying to analyse a survey study in which I'm interested in the way that individual differences between my participants influence how they respond to my stimuli. The stimuli are pieces of writing randomly selected from a large pool of such, and I'm not currently interested in any fixed effects of these stimuli.<...
g27060
[ -0.010154995135962963, -0.007842300459742546, 0.014275733381509781, -0.06614495068788528, -0.015206310898065567, -0.01449508871883154, -0.004309331998229027, 0.019656803458929062, 0.007775140460580587, -0.03672521561384201, 0.0089016854763031, -0.0165606327354908, -0.021102478727698326, 0....
<p><strong>Background</strong></p> <p>notation: RV= random variable, $\mu=$ mean $m=$ median</p> <p>Jensen's Inequality considers the relationship between the mean of a function of an RV and the function of the mean of an RV.</p> <p>If $f(x)$ strictly convex:</p> <p>$$\mu (f(x)) &gt; f(\mu (x))\mathrm{\hspace{20mm}...
g65316
[ -0.02716558799147606, -0.04274330288171768, 0.004812979605048895, 0.008842531591653824, 0.008527407422661781, -0.019174102693796158, 0.012344379909336567, -0.034043990075588226, -0.026730995625257492, -0.01946979947388172, -0.03556254133582115, 0.07354696840047836, -0.008926043286919594, 0...
<p>I need to make a simulation to calculate the integral of a pdf $f(x|D)$ over a region $T$.That is, I need to evaluate $$\int_T f(x|D)\; dx$$</p> <p>to do this, I just defined the function $g(x)=1$ if $x \in T$ and $g(x)=0$ if $x$ is not in $T$. So the integral that I want to evaluate is $$\int_{D(f)} g(x)f(x|D)\;dx...
g65317
[ -0.00550858536735177, 0.00996543001383543, -0.009973402135074139, -0.08358588814735413, -0.041686393320560455, 0.0020962797570973635, 0.02723132260143757, -0.0029629531782120466, -0.09001803398132324, 0.004657328128814697, -0.03883219137787819, 0.03675386682152748, 0.02915540337562561, -0....
<p>I am comparing two sections of a single time series on the date that a policy change has occurred. How do I compare two ARMA coefficients? Do I use t test?</p> <p>Thanks a lot.</p>
g65318
[ 0.0505044050514698, -0.048324692994356155, 0.0054600122384727, -0.045012328773736954, 0.03185916319489479, -0.025515075773000717, 0.01656092144548893, 0.0007350759697146714, -0.007959520444273949, 0.04198475554585457, 0.0025464503560215235, 0.0343826562166214, 0.02577805332839489, 0.010944...
<p>For example, we have an NxP matrix with N rows and P variables. Then we need to calculate a PxP sample covariance matrix. How do I do that?</p>
g23838
[ 0.02005569450557232, 0.01983814686536789, 0.009076688438653946, -0.06996360421180725, -0.004761262331157923, -0.011966798454523087, -0.022487273439764977, 0.027179760858416557, -0.0448806993663311, 0.009201793931424618, -0.01576254703104496, 0.010591796599328518, -0.008861755952239037, 0.0...
<p>I'm trying to run a basic gradient descent algorithm with a absolute loss function. I can get it to converge to a good solution by it requires a much lower step size and more iterations than had I used square loss. Is this normal? Should I expect absolute loss to take a longer time to come to a good solution or pote...
g37585
[ 0.013510857708752155, 0.0000817061954876408, 0.008860793896019459, -0.004711434710770845, -0.00455117505043745, -0.04046061635017395, 0.05974958464503288, -0.00946070533245802, -0.06292332708835602, 0.01524313073605299, -0.01996726728975773, 0.019564535468816757, 0.08783078193664551, 0.072...
<p>AFAIK, the model works in a following way:</p> <p>We have $S$ - all the sentences in our unlabeled copra.</p> <ol> <li>choose $N$ (~100000) most popular words from our unlabeled data = $PW$</li> <li>chose the hyperparameters $d_{dim} \in [50...200]$ - the number of dimensions in our embedding and $w_{size}$ - wind...
g65319
[ 0.005833363626152277, -0.002068838570266962, -0.015280095860362053, -0.02271556295454502, 0.004033671226352453, -0.07330509275197983, 0.035553302615880966, -0.009230556897819042, -0.08280254900455475, -0.016760220751166344, -0.019642427563667297, -0.0031396213453263044, 0.0066901990212500095...
<p>For the standard Cauchy distribution, do fractional moments exist? If $Y \sim C(1,0)$, is it possible to evaluate $E(Y^{1/3})$?</p>
g65320
[ -0.007971718907356262, -0.009040561504662037, -0.014661659486591816, -0.013042270205914974, 0.025648929178714752, -0.006668798625469208, -0.006226377096027136, 0.016661083325743675, 0.003348355647176504, -0.051166828721761703, -0.022800330072641373, -0.005054505076259375, -0.0122988596558570...
<p>I'm more of a programmer than a statistician, so I hope this question isn't too naive.</p> <p>It happens in sampling program executions at random times. If I take N=10 random-time samples of the program's state, I could see function Foo being executed on, for example, I=3 of those samples. I'm interested in what th...
g43791
[ 0.02228977158665657, 0.00301788910292089, -0.0046420651488006115, -0.031538400799036026, 0.01662224344909191, -0.0404912605881691, 0.04905688762664795, 0.02046824060380459, -0.04358077421784401, -0.07231240719556808, -0.06497848778963089, 0.003969657700508833, -0.003935134969651699, 0.0345...
<p>I have two set of data that are roughly centered around zero but I suspect that they have different tails. I know a few tests to compare the distribution to a normal distribution, but I would like to compare directly the two distributions.</p> <p>Is there a <strong>simple test to compare the fatness of tail of 2 d...
g65321
[ 0.05042842775583267, -0.039491795003414154, 0.005776908248662949, -0.029725464060902596, 0.013893078081309795, -0.006871882360428572, -0.03265936300158501, -0.02535463310778141, -0.03200105205178261, -0.073020339012146, 0.023829877376556396, 0.023686690255999565, 0.03706948459148407, -0.01...
<p>I have few conceptual questions related to application of chaos in communications. In few application such as radar <a href="http://asp.eurasipjournals.com/content/pdf/1687-6180-2011-2.pdf" rel="nofollow">Chaotic signal reconstruction with application to noise radar system</a>, cryptography, the noise considered is ...
g65322
[ 0.019625067710876465, -0.00046491477405652404, 0.021524185314774513, 0.049674585461616516, 0.05471331998705864, -0.04132732376456261, 0.01759934239089489, 0.06405264884233475, -0.009352443739771843, -0.047475140541791916, 0.03168321028351784, 0.030655335634946823, 0.07087619602680206, 0.05...
<p>Given E(X), E(X^2) and sample size. How do I find Coefficient of Variation?</p> <p>Variance = E(X^2) - E(X)^2</p> <p>sd = square root of variance</p> <p>Coefficient of Variation = sd / E(X)</p> <p>however, with the values that were given, I can't get the answer I want. I wonder if the above formula is correct.</...
g43799
[ -0.02588016539812088, 0.013099045492708683, 0.002017862629145384, -0.022536909207701683, -0.0005731157143600285, -0.030801229178905487, 0.026507144793868065, -0.0343594029545784, 0.0035463536623865366, -0.01758706383407116, -0.01609731651842594, 0.041453611105680466, 0.05888773128390312, 0...
<p>I'm attempting to analyse a large chunk of empiric measurements subject to two parametrised transformations. In essence, the functions take 3 'count' parameters - and returns a sequence of floats in each configuration. I'm expecting (hoping) to see some interesting patterns emerge when appropriate parameters are sel...
g65323
[ 0.015183602459728718, 0.031549982726573944, -0.022788122296333313, -0.07241130620241165, -0.04518197476863861, -0.02916022762656212, 0.07664745301008224, 0.002991527784615755, -0.04842280596494675, 0.01781720481812954, -0.019109459593892097, 0.005518138874322176, 0.08080955594778061, 0.039...
<p>I'm trying to adopt a solution for long-term electricity annual prices forecasting (depending on past electricity prices, past oil prices, past consumption data, etc.)</p> <p>I'm considering some solutions:</p> <ul> <li>off-the-shelf specific software: Alyuda, Aleasoft, ...</li> <li>already-built modules of known ...
g65324
[ 0.011786220595240593, -0.041888874024152756, 0.004149529617279768, -0.03532395139336586, -0.031669579446315765, -0.060161881148815155, -0.043603114783763885, 0.018725117668509483, -0.0634177103638649, 0.017518561333417892, 0.058852341026067734, 0.008705719374120235, 0.06695506721735, 0.017...
<p>I'm trying to understand how to show the prediction error of a model fit in R using the non-linear least squares function <code>nls</code>. Although there is an argument <code>se.fit=TRUE in the</code>predict.nls` function, the help explains "At present se.fit and interval are ignored." I'm able to calculate the con...
g65325
[ 0.04568183049559593, -0.040324434638023376, 0.008122928440570831, -0.06926802545785904, -0.0032947349827736616, -0.014102271758019924, 0.025779351592063904, -0.02179318480193615, -0.06383156776428223, -0.018403444439172745, -0.0033548595383763313, 0.005464144051074982, 0.041677698493003845, ...
<p>I am trying to use pybrain for the first time on 20x20 handwritten digit MNIST data. I keep getting a runtime error when I setup the trainer and I can;t figure out what the problem is?</p> <p>code:</p> <pre><code>import sys import os from pprint import pprint import numpy X = numpy.loadtxt('/Users/enpasant/Octa...
g23846
[ 0.00208188290707767, 0.04188133031129837, -0.0184230525046587, -0.07519140094518661, 0.022759968414902687, -0.0011608479544520378, 0.005027106963098049, 0.02722134254872799, -0.05290503427386284, -0.06520365178585052, -0.019123272970318794, 0.008330527693033218, -0.02905314229428768, 0.057...
<p>Is it true that Multinomial Naive Bayes requires equally by count training data for each class to get best performance?</p> <p>For example, we forming classifier for three classes - Japan, China, Korea.</p> <p>For Japan available 500 training data, China - 300, Korea - 100.</p> <p>So to train Multinomial Naive Ba...
g65326
[ 0.03223198652267456, 0.03179889917373657, 0.0167839415371418, 0.009942498058080673, 0.00626805704087019, -0.027003088966012, -0.005492766387760639, 0.03281585872173309, -0.032304536551237106, -0.006418011151254177, -0.00019951717695221305, 0.019947990775108337, 0.02078004740178585, 0.04035...
<p>Background: We are looking at parental leave in Iceland. We are particularly interested in whether the economic crisis and the resulting changes in parental leave legislation affected the time taken for parental leave. </p> <p>We have reason to believe that the effect of the crisis / new laws will be different for ...
g23847
[ -0.001536816474981606, 0.05647236853837967, -0.017583301290869713, -0.03813944011926651, -0.004327982664108276, -0.04598658159375191, -0.01769278571009636, -0.007590375375002623, 0.011759932152926922, -0.02796671725809574, -0.009477988816797733, -0.054726433008909225, 0.05151458829641342, ...
<p>Intuitively, CRLB should decrease with increase of signal-to-noise ratio (SNR). A plot of CRLB (Y axis) and SNR on X axis should be somewhat a decreasing exponential curve. Thus, when the signal has more of information and less noise, CRLB decreases. </p> <p>I have not found any reference for such a plot, but shall...
g65327
[ 0.059389207512140274, 0.0036011894699186087, -0.0006226979894563556, 0.005495382472872734, 0.05007334426045418, -0.06423218548297882, 0.07791923731565475, 0.024118399247527122, -0.0430443175137043, -0.006844426039606333, -0.02840469405055046, 0.04698951542377472, 0.03048534132540226, 0.032...
<p>Suppose for each of $p$ symptoms we have a measurement of the degree of severity from $1$ to $5$. We have a dataset $\{(x_i,y_i)\}_{i=1}^n$, where $x_i=(x_{ij},j=1,\cdots,p)$ are the measured severities of the symptoms of patient $i$, and $y_i=0$ or $1$ indicates whether or note patient $i$ has the disease.</p> <p>...
g23849
[ 0.008108175359666348, -0.04238893836736679, -0.0174866933375597, -0.07356999069452286, -0.03737213462591171, -0.003668287768959999, 0.02800602838397026, -0.0041968259029090405, 0.0019791070371866226, -0.01634892076253891, -0.0030684007797390223, 0.05875341221690178, 0.011613346636295319, -...
<p>I am attempting to estimate a linear model as: $$ y = a +bX +e $$ I have a series of annual returns and I would like to estimate the effect of volatility on losses. My Null hypothesis is that volatility in period $t$ should have no linear relationship with losses in period $t+1$. So in actual fact, my model is: $...
g65328
[ 0.035734254866838455, -0.07080719619989395, 0.005869058892130852, -0.0006829230114817619, 0.0018128686351701617, -0.03530475124716759, 0.037381742149591446, -0.01232070941478014, 0.01356494054198265, -0.04901057854294777, 0.03093678317964077, 0.02861226163804531, 0.02489575557410717, 0.036...
<p>I am trying to use kNN classifier to perform some supervised learning. In order to find the best number of 'k' of kNN, I used cross validation. For example, the following codes load some Matlab standard data and run the cross validation to plot various k values with respect to the cross validation error</p> <pre><c...
g23851
[ 0.0015021360013633966, 0.012116082943975925, 0.009702019393444061, -0.01621302403509617, 0.015490789897739887, 0.005089391954243183, -0.01428449247032404, 0.033280495554208755, -0.047106631100177765, 0.005079896189272404, -0.0046296436339616776, 0.04051564261317253, 0.06315241754055023, 0....
<p>I know that GLS estimators only have exact distributions asymptotically, so the efficiency gains in finite samples are not all that clear. But otherwise, I'm struggling on how to attack this discussion.</p>
g65329
[ -0.015682926401495934, 0.04576343297958374, -0.000009215750651492272, -0.035754039883613586, 0.015263956971466541, -0.08449635654687881, 0.021702343598008156, 0.00837948452681303, -0.003800680162385106, -0.0007236372330226004, 0.014681105501949787, 0.030595550313591957, 0.02598845586180687, ...
<p>I am analysing data of an digital advertising tool. I have access to all the exposures for each of the 6 channels (x1, x2, .., x6) of an online campaign. The outcome is the conversion (y=1 or 0) on the website. My goal is to calculate an attribution model and credit each of the channels with the number of conversion...
g65330
[ 0.003968089818954468, -0.023951895534992218, -0.006308084819465876, -0.019488196820020676, 0.004693268332630396, -0.017850760370492935, 0.0292543713003397, 0.0402059443295002, -0.021964116021990776, -0.01579967327415943, 0.020058220252394676, 0.015307697467505932, 0.08764950186014175, 0.05...
<p>As a ML beginner, I don't how to begin with this problem, or more generally, are there any typical steps to take when approaching a real problem? </p> <p>If I have some domain relevant knowledge, then I could make use of it to analyze the data and do the modelling. But if I don't, then all I have is just the data, ...
g65331
[ -0.023951314389705658, -0.022770456969738007, 0.0019558079075068235, -0.014583365991711617, 0.018412891775369644, -0.03682781383395195, 0.05071151629090309, 0.05133434757590294, -0.016370348632335663, -0.04509216174483299, -0.029252413660287857, 0.027551494538784027, 0.09896593540906906, 0...
<p>I am working on a data set of intertidal organisms and am looking for a multivariate technique that will help me determine why some groups have different species assemblages than others. I was thinking multivariate analysis of covariance (MANCOVA) might be a good method because it takes care of the experimental desi...
g29113
[ 0.003644655691459775, -0.039626944810152054, 0.020324498414993286, -0.07696601003408432, -0.006481391843408346, -0.03364216536283493, 0.059375252574682236, 0.004667795263230801, -0.024057330563664436, 0.02568209543824196, 0.06758493930101395, 0.010629616677761078, 0.0153508884832263, 0.066...