question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I know that people generally say that procedures which select a model based on information criterion lead to inconsistent model selections.</p> <p>I read a paper by Leeb and Potscher (2005), MODEL SELECTION AND INFERENCE: FACTS AND FICTION which supports this theory.</p> <p>Regardless of the kind of information cr...
g42419
[ 0.034264229238033295, -0.06086907535791397, -0.006760411895811558, -0.004281194414943457, 0.07111690193414688, -0.0423528216779232, 0.040617913007736206, 0.03465971723198891, -0.007636676076799631, 0.013686074875295162, -0.004543951712548733, 0.04713082313537598, 0.04007896035909653, 0.022...
<p>could you explain how to determine a the mean and standard deviation of the following: demand size, demand interval and demand per period, with respect to minimum, 25%ile, median, 75%ile and maximum from the data below:<br> Weeks: Orders: Inventory</p> <pre><code>0 : : 112224 04/08/2009: 2000 ...
g64575
[ 0.00598801439628005, 0.016959764063358307, -0.02291685901582241, -0.03180895745754242, -0.03482235223054886, 0.02306288667023182, 0.058811675757169724, -0.03332734853029251, -0.0017809085547924042, -0.03041399084031582, -0.003244674764573574, -0.00441961083561182, 0.053679194301366806, -0....
<p>I'm modeling hospital inpatient stays with a logistic regression model, and have encountered a number of predictor variables measuring # of outpatient care episodes which have an inflated number of observations at $x=0$ (sometimes over 90%). In addition, there's a discontinuous "jump" in observed y values comparing ...
g22788
[ 0.002359648235142231, 0.02832895889878273, -0.017068704590201378, -0.042519308626651764, 0.00967070460319519, -0.06733348220586777, 0.003973125945776701, -0.011515486985445023, -0.012740272097289562, -0.05901661142706871, 0.031163256615400314, 0.022832099348306656, 0.06880037486553192, -0....
<p>Let us say that we have an experiment where people are shown images of tyres from car/bike and have to tell what it really belongs to.</p> <p>The objective of the experiment is to validate the hypothesis that people from age group 25-35 are much better at recognizing that the tyre images are from car or bikes.</p> ...
g64576
[ -0.01932903565466404, 0.009757280349731445, -0.00638608168810606, -0.09372645616531372, 0.044064681977033615, -0.04409736767411232, 0.053086843341588974, 0.008618088439106941, -0.02585134655237198, -0.014966982416808605, 0.056211918592453, 0.014347003772854805, 0.07682918012142181, -0.0025...
<p><em><strong>or:</em></strong> <em>Does selecting a domain when entering a job narrows your future options for domains and hence jobs ?</em></p> <p>To make this question as broadly applicable as possible ...</p> <ul> <li>profession refers to all kinds of data analysts, from statisticians over machine learner progra...
g48510
[ -0.04631075635552406, 0.07306793332099915, 0.002392806112766266, -0.004726679064333439, -0.005447068717330694, 0.03408467024564743, 0.019400915130972862, 0.022237906232476234, 0.05299720540642738, -0.054279424250125885, 0.003951790742576122, 0.002026365604251623, 0.10105166584253311, 0.000...
<p>I apologise, this isn't a single question. It is more of a general problem on which I am working and am seeking guidance for how to proceed.</p> <p>I have been provided with an inventory dataset of plot measurements (tree height, diameters etc) within a non-random selection of n forest stands (from a total N in the...
g64577
[ -0.0052803074941039085, -0.059498537331819534, 0.001685583614744246, 0.00042789606959559023, -0.0429728738963604, -0.016306614503264427, -0.00027351517928764224, -0.036909010261297226, -0.012270264327526093, -0.02378539927303791, 0.017675403505563736, -0.024232883006334305, 0.015945687890052...
<p>I have built a prototype Naïve Bayes Classifier in an Excel spreadsheet. My data is a transaction (an order) with 13 parameters. This translates directly to a feature vector of (feature_1, feature_2, …, feature_13). Each parameter of an order, if it is incorrectly set, can be the cause of an error in the order. I am...
g64578
[ -0.0009280116646550596, -0.030539805069565773, -0.003552149748429656, 0.008264848031103611, 0.04281377047300339, -0.04017813876271248, -0.017062047496438026, 0.015776129439473152, -0.09845257550477982, -0.021083572879433632, -0.03389956057071686, 0.04411927983164787, 0.07137247920036316, 0...
<p>Given that $N = n$, the conditional distr. of $Y$ is $\chi ^2(2n)$. $N$ has marginal distr. of Poisson($\theta$), $\theta$ is a positive constant.</p> <p>Show that, as $\theta \rightarrow \infty$, $\space \space (Y - E(Y))/ \sqrt{\operatorname{Var}(Y)} \rightarrow N(0,1)$ in distribution.</p> <p>Could anyone sugge...
g22793
[ 0.02492522820830345, 0.001493555842898786, -0.03737759590148926, -0.03344568610191345, 0.010114986449480057, -0.07273852825164795, -0.007972120307385921, -0.001358782290481031, -0.025724193081259727, -0.0024091016966849566, -0.007641723845154047, 0.005777552258223295, -0.009718857705593109, ...
<p>Let's say I have the following equation:</p> <pre><code>Won = B0 + B1*(Bid) </code></pre> <p>Once I know B0 and B1, I can generate the probability curve and find the probability of "won" for each "bid." </p> <p>However, let's say I add a variable zipcode, and add it to the logit model. In R, I save it as a factor...
g64579
[ -0.013967406004667282, -0.04723719134926796, 0.010939487256109715, 0.03168594092130661, 0.03875773027539253, -0.051723964512348175, 0.032064471393823624, 0.02470024861395359, -0.03670845180749893, -0.026229538023471832, -0.0375547893345356, 0.014918491244316101, 0.043393801897764206, 0.008...
<p>I am practicing MA and AR modelling by using autocorrelation and partial autocorrelation values. My data is in the image below; I can see that only at lag 12 there is a value that might be considered but I have a dilemma: what model is this if any? </p> <ol> <li>To be a MA of higher order the autocorr should be 0 A...
g42424
[ 0.08280068635940552, -0.06120402738451958, -0.017282778397202492, -0.0685148760676384, 0.037649281322956085, 0.006399999372661114, 0.04255589470267296, 0.048471227288246155, -0.021427128463983536, -0.04646247252821922, 0.03652055561542511, 0.04870659112930298, 0.0863771066069603, 0.0340847...
<p>The randomForest implementation does not allow sampling beyond the number of observations, even when sampling with replacement. Why is this?</p> <p>Works fine:</p> <pre><code>rf &lt;- randomForest(Species ~ ., iris, sampsize=c(1, 1, 1), replace=TRUE) rf &lt;- randomForest(Species ~ ., iris, sampsize=3, replace=TR...
g22797
[ 0.005464470945298672, 0.0020154546946287155, 0.005956385284662247, -0.07360327988862991, -0.008818221278488636, 0.002390362089499831, 0.0074001275934278965, 0.0024777757935225964, -0.0013444697251543403, -0.03163696452975273, 0.04923221468925476, -0.015827760100364685, 0.025374073535203934, ...
<p>This is part of problem 5.23 in A First Course in Linear Model Theory, Dey and Ravishanker. It was on a previous midterm and I didn't know how to do it, but now I am studying for the final and would like to figure it out. </p> <p>Suppose $\mathbf{x} \sim N_{m}(\mu, \Sigma)$ and $A$ is a symmetric idempotent matrix ...
g37441
[ -0.086188405752182, 0.004990248009562492, -0.030239559710025787, -0.06536833196878433, 0.035980477929115295, -0.04160742089152336, 0.05640539154410362, 0.005261295475065708, 0.005791601724922657, 0.039395771920681, -0.03741389140486717, 0.03285802900791168, -0.0191684328019619, 0.006097244...
<p>I have data from an experiment that evaluated 3 methods for recommendation of news articles based on their content. The experiment showed an article that the user read and 6 recommendations presented in random order below it (screenshot: <a href="http://cl.ly/image/2R10073Z0i39" rel="nofollow">http://cl.ly/image/2R1...
g64580
[ -0.013441026210784912, -0.031619951128959656, 0.006884414236992598, -0.009160949848592281, 0.01639891229569912, -0.03900708630681038, 0.013700061477720737, 0.0013069910928606987, -0.03292685002088547, -0.01827692985534668, 0.05520344898104668, -0.02836248092353344, 0.06339007616043091, 0.0...
<p><strong>Direct Question:</strong> Are there any measures of auto-correlation for a sequence of observations of an (unordered) categorical variable?</p> <p><strong>Background:</strong> I'm using MCMC to sample from a categorical variable and I'd like a measure of how well the sampling method I've developed is mixin...
g22800
[ -0.0428675040602684, -0.009242446161806583, -0.010075165890157223, -0.09953885525465012, -0.011852684430778027, -0.032523833215236664, 0.005884306505322456, -0.0029440242797136307, -0.03255000710487366, -0.02773519977927208, 0.006844936870038509, 0.03339814022183418, 0.04186425730586052, 0...
<p>I'm trying to use the prefmod package to analyzed paired comparisons, but unfortunately the documentation is a bit poor and the author is no longer with us. </p> <p>I have a survey with 32 questions, split into two blocks (16 questions per respondent). Here's a sample of the first 10 observations:</p> <pre><code...
g791
[ -0.033195845782756805, -0.006439294200390577, -0.008708284236490726, -0.015800464898347855, 0.0442548505961895, -0.05908321216702461, 0.05151956528425217, -0.01907813549041748, -0.019813571125268936, -0.035712115466594696, -0.036594416946172714, 0.05022106319665909, 0.03246830031275749, 0....
<p>I was wondering whether anyone could point me to some references that discuss the interpretation of the elements of the inverse covariance matrix, also known as the concentration matrix or the precision matrix.</p> <p>I have access to Cox and Wermuth's <em>Multivariate Dependencies</em>, but what I'm looking for is...
g42428
[ 0.016008468344807625, -0.025409512221813202, -0.0065784393809735775, -0.047558218240737915, 0.010744787752628326, 0.006744289770722389, 0.02701864019036293, 0.0028439187444746494, -0.03559491038322449, 0.012676768936216831, 0.003295778762549162, -0.008599438704550266, -0.0027285050600767136,...
<p>We have three years of data for online visits at a daily level. We want to forecast the daily visits for the next 90 days. What would be the best method to capture weekday seasonality , holiday seasons, and also the drift.</p> <p>Can this be successfully done in R? We are currently using R. We have considered ARIMA...
g49484
[ 0.004066400695592165, -0.01745019480586052, -0.004229249432682991, -0.010804237797856331, -0.04478359594941139, -0.028460098430514336, 0.06319047510623932, 0.0024747089482843876, -0.0033002388663589954, -0.016252031549811363, 0.06406659632921219, 0.026314539834856987, 0.09463535249233246, ...
<p>I would like to test a proprietary method of financial time series prediction that says, in effect, that on a certain day/week in the future, to an accuracy of +/- 2 to 3 days/weeks, a financial time series will make a relative high or low on this predicted date, and furthermore, within a defined period in the futur...
g64581
[ 0.035514675080776215, -0.013433462008833885, -0.0015421004500240088, 0.0008341604843735695, -0.07100264728069305, -0.011038301512598991, 0.03686570003628731, 0.005285165272653103, -0.008022460155189037, -0.03942928835749626, 0.059518083930015564, 0.03262045606970787, 0.055816009640693665, ...
<p>I am trying to get to grips with Clustering and Visualisation.</p> <p>I have a set of data (a matrix) that I want to cluster (using R) and then visualise (HTML5 Canvas). </p> <p>So, I can use MDS to get the coordinates of a matrix, for example:</p> <pre><code>cells &lt;- c(1, 1, 2, 1, 4, 3, 5, 4) rnames &lt;- c(...
g42433
[ 0.04513205587863922, 0.01862994022667408, -0.004958548117429018, -0.05544116720557213, -0.013049637898802757, -0.04555191472172737, -0.0026795067824423313, -0.0033219701144844294, -0.0031958632171154022, -0.0673905685544014, 0.04041944444179535, 0.02041724883019924, 0.15914346277713776, -0...
<p>I am having some trouble understanding the relationship between the weight provided from a multiple linear regression and calculating probabilities. The weights given create an equation whose values are not part of a probability distribution. Rather, they predict the y value.</p> <p>How can this be transformed into...
g22806
[ 0.0718999058008194, -0.030063917860388756, 0.003158314386382699, -0.009516567923128605, 0.010682688094675541, 0.03082079440355301, -0.011815774254500866, 0.0807313546538353, -0.061007969081401825, -0.06000078469514847, -0.020438820123672485, -0.02344617061316967, 0.05635286495089531, 0.012...
<p>In a multivariate linear model</p> <p>$Y = XB + U$,</p> <p>where within-subject (or repeated-measures) factors are coded as simultaneous response variables in $Y$, a general linear hypothesis can be formulated as</p> <p>$H_0: L B M = 0$,</p> <p>where $L$ specifies the contrasts among the levels of a between-subj...
g22807
[ 0.025085169821977615, -0.06771763414144516, -0.007733560167253017, -0.024288548156619072, -0.05377506464719772, -0.025139061734080315, -0.0177542082965374, -0.0009631310240365565, 0.011302012950181961, 0.014087014831602573, 0.02462288923561573, 0.04056480899453163, 0.028027735650539398, -0...
<p>I was trying to find out whether an oversampling can really make a model better. On <a href="http://blog.data-miners.com/2009/11/oversampling-in-general.html" rel="nofollow">this blog page</a>, it says that it can improve a decision tree, but it shouldn't improve a logistic regression. Quotation below:</p> <blockqu...
g22808
[ -0.0190284326672554, 0.023234760388731956, 0.030716635286808014, 0.02803092822432518, -0.009992169216275215, -0.05566127225756645, -0.0011757544707506895, 0.03113272599875927, -0.05391775444149971, -0.023610524833202362, 0.02546941302716732, 0.0006093273987062275, 0.06289219856262207, -0.0...
<p>I'm just getting into data science from a qualitative background, and I want to be able to do the most stuff with least amount of overhead. (mostly machine learning and agent based modeling).</p> <p>I'm currently learning python, and would hate to switch languages in the middle of my coursera class mitx 6.00x. Also...
g22809
[ -0.0330619215965271, -0.035985469818115234, -0.014202544465661049, 0.011917958967387676, 0.005224933847784996, -0.05750526115298271, -0.04501981660723686, -0.014979209750890732, 0.00619633449241519, -0.055629000067710876, 0.014820468612015247, 0.025099681690335274, 0.033984873443841934, 0....
<p>I'm comparing performance of different classifiers on the data sets derived from financial markets, getting different accuracy and precision measures but Matthews correlation coefficient and Kappa statistic seldom exceeds 0.2. My data sets are quite big like 20000x170 so it should not be a problem with not enough of...
g22810
[ 0.05653409659862518, -0.0146001186221838, 0.022686177864670753, -0.05493411421775818, 0.0387287437915802, -0.00742641044780612, 0.018485696986317635, -0.005802792031317949, -0.026523074135184288, -0.013861901126801968, 0.011533170007169247, 0.034356631338596344, 0.03068184107542038, -0.015...
<p>To investigate the difference between three tasks I tested 30 individuals on each of the three tasks and ran the linear model as follows:</p> <pre><code>model &lt;- lme(behaviour ~ task, random = ~ 1|subject, data=dat, method="ML") </code></pre> <p>With contrasts using <code>glht</code> to investigate if task 1 wa...
g22811
[ 0.0020395333413034678, -0.0711633488535881, 0.004958323203027248, -0.0248663779348135, 0.02508206106722355, 0.009624116122722626, 0.07033535838127136, -0.006469092331826687, -0.02527640387415886, -0.009860428050160408, 0.002967794192954898, -0.014828801155090332, 0.030582860112190247, 0.00...
<p>Is it necessary to have mean of residuals which is equal to 0 in Quantile regression? </p>
g64582
[ -0.0030655227601528168, -0.0312194861471653, 0.0007586944266222417, 0.007568886037915945, 0.003874405985698104, -0.006521075032651424, -0.01770126260817051, -0.027830038219690323, -0.029507488012313843, -0.0335310623049736, -0.040376752614974976, 0.020024875178933144, -0.01542954333126545, ...
<p>I have a data consists of three independent variables and dependent variable, I want to fit a model to these data, p=f(x1,x2,x3), how can I find the best fit for these data? it might be linear, quadratic,... could you please guide me to find the optimum way to find the model.</p>
g64583
[ 0.06512721627950668, -0.012826145626604557, -0.01454180758446455, -0.022516978904604912, -0.004421479068696499, 0.020861420780420303, -0.05298006907105446, -0.026517076417803764, -0.10110852122306824, -0.01926564797759056, 0.011918689124286175, -0.04697148874402046, 0.0014456615317612886, ...
<p>I am examining rodent captures on six permanent rodent trapping grids measuring 150 x 150 meters and consisting of 121 trap stations evenly spaced 15 meters apart. There are six such trapping grids on the study site that is &lt; 1000 hectares in size. I would like to interpolate the capture data to create a Kriged...
g64584
[ 0.042818039655685425, -0.05017155036330223, 0.0009507411159574986, -0.028907228261232376, 0.018165314570069313, -0.0013805510243400931, 0.04556494578719139, 0.03178549185395241, -0.05504458397626877, -0.015286738984286785, 0.054376520216464996, 0.016913047060370445, 0.007153018843382597, 0...
<p>I have a list of genes identified using algorithm_A, then using algorithm_B and finally using algorithm_C; then a second list of genes identified using algorithm_A, then using algorithm_B and then algorithm_C, and so on for a total of 100 gene lists. </p> <p>To compare the overlap of the identified gene list using...
g22813
[ 0.04139140620827675, -0.010924091562628746, 0.009970617480576038, -0.0368579626083374, -0.01991228386759758, -0.0577516034245491, 0.06263997405767441, -0.006865327712148428, -0.055267591029405594, 0.04125586524605751, 0.007015338633209467, -0.004066521301865578, 0.05210895463824272, 0.0532...
<p>Does anyone know how to compute (or extract) leverage and Cook's distances for a <code>mer</code> class object (obtained through <code>lme4</code> package)? I'd like to plot these for a residuals analysis.</p>
g64585
[ -0.04265543445944786, -0.06480246037244797, -0.014359931461513042, -0.048159919679164886, -0.04556301236152649, -0.046622466295957565, 0.012003201059997082, 0.01788642629981041, -0.08141666650772095, -0.008397184312343597, -0.015364479273557663, 0.03760748729109764, 0.019607536494731903, -...
<p>I read from <a href="http://www.mathworks.com/help/stats/copulafit.html" rel="nofollow">this</a> link and thought that kernel density functions are used for solving the unrealistic normal distributions or specification errors. But when I read the description of kernel density in MATLAB, the estimate is based on a no...
g22815
[ 0.03015982173383236, 0.006399208214133978, 0.021416565403342247, -0.002511060331016779, 0.0009343367419205606, -0.0032096621580421925, 0.025674745440483093, 0.029896043241024017, -0.11094103008508682, -0.01158203650265932, 0.01563316397368908, -0.04827969893813133, 0.06689207255840302, 0.0...
<p>Suppose that $x \sim U(0, 255)$ and and $y \sim U(0, 255)$, and that $x$ and $y$ are independent.</p> <p>What is the distribution of $x - y$?</p> <p>If I were to draw 1,000 samples from this distribution, how many times should I expect to see each possible value?</p> <p>NB. These are all <em>discrete</em> random ...
g64586
[ -0.049478303641080856, 0.024927493184804916, -0.023054545745253563, -0.014738964848220348, -0.025855284184217453, -0.051895905286073685, 0.01792445033788681, 0.034300465136766434, 0.002577083185315132, -0.038487810641527176, -0.03949497267603874, 0.004561648704111576, 0.007953569293022156, ...
<p>I'm having trouble modeling the following scenario:</p> <blockquote> <p>Roll two dice and take the best result.</p> </blockquote> <p>What is the proper way to model the average result from this? I understand intuitively that the average should go up, but I'm having trouble understanding exactly what plays into...
g22817
[ 0.013094897381961346, 0.0371035598218441, 0.0022037180606275797, -0.028659561648964882, 0.020046554505825043, -0.05137065425515175, -0.009751792065799236, 0.0073346481658518314, -0.03342721238732338, 0.015690350905060768, 0.023958342149853706, 0.013805268332362175, 0.10461407899856567, -0....
<p>I have this confusion related to PCA. PCA assumes that the variables given have corresponding latent variables which are uncorrelated. What PCA does it project the data into the eigen space which preserves maximum variance and decorrelates the dimensions. </p> <p>Why does PCA makes such assumption that the underlyi...
g64587
[ 0.060668304562568665, -0.045039109885692596, 0.012318636290729046, -0.09167415648698807, -0.00956934317946434, 0.02181626670062542, 0.0683705061674118, -0.002843249589204788, -0.020040733739733696, -0.09036161005496979, 0.00428342679515481, -0.006292432546615601, 0.008169267326593399, 0.04...
<p>Suppose I want to compare the difference between means of samples selected from two populations (the treatment and control). Assume both groups have normally distributed observations. Then $$Z = \frac{(\bar{X}_{t}- \bar{X}_{c})-(\mu_{t}-\mu_{c})}{\sqrt{\left(\frac{\sigma^{2}_{t}}{n_t}+ \frac{\sigma^{2}_{c}}{n_c} \ri...
g22819
[ -0.012669230811297894, -0.060625214129686356, -0.02902313508093357, -0.03588133305311203, 0.06979474425315857, -0.0279384758323431, 0.051003601402044296, -0.0011451483005657792, 0.007611049339175224, 0.03669644519686699, -0.04489585757255554, 0.04128390923142433, 0.016442744061350822, 0.01...
<p>I'm relatively new to statistics and I'm a little confused about which test I should be using for this problem. Let’s say I am collecting data about responses to a book under two different conditions (C1 and C2). In each condition, I am looking at several attributes about the book and asking for ratings using a 5 po...
g22144
[ 0.03487053140997887, -0.01618393138051033, 0.013046344742178917, -0.06944094598293304, 0.023154398426413536, 0.0018871997017413378, 0.022597817704081535, -0.0006923359469510615, -0.04751209914684296, 0.0438004732131958, 0.031864751130342484, 0.019974984228610992, 0.01606745645403862, 0.033...
<p>I've followed guidelines for comparing models in Chapter 6 of Bolker's <em>Ecological Models and Data in R</em>, applying code used in this section to cancer count data. The models include parameters for age group (a) and birth cohort (c), and are as follows:</p> <pre><code># Value of lambda is the same for all age...
g64588
[ -0.006693720817565918, -0.09803943336009979, -0.013839739374816418, -0.030441515147686005, 0.06360331922769547, 0.02101408690214157, 0.056477807462215424, 0.020797621458768845, -0.09743715822696686, 0.031006500124931335, -0.020113440230488777, 0.009324558079242706, 0.0576033741235733, 0.03...
<p>I have some qualitative data and having trouble preparing the data before I perform the analysis in SPSS. My understanding of Friedman's anova is that the data must be ranked from lowest to highest. </p> <p>My experimental design was repeated measures using a single variable (interaction technique) with three level...
g64589
[ -0.024136332795023918, -0.017766661942005157, -0.021486910060048103, -0.03314439207315445, 0.02288931794464588, 0.015416081063449383, -0.01403853204101324, 0.029893992468714714, -0.04845789447426796, 0.04173633083701134, -0.013442659750580788, -0.007145069073885679, 0.014508024789392948, 0...
<p>I have two questions regarding the R script.</p> <p>If I want to know the size of the sampling when I do a t-test with R, I can use this R script :</p> <pre><code>power.t.test(delta=1,sd=1.5,sig.level=0.05,power=0.8) </code></pre> <p>If I want to know the size of the sampling when I do the test of Pearson correla...
g64590
[ 0.04393788427114487, -0.03898622840642929, 0.01718096435070038, -0.05245092511177063, 0.0038543138653039932, -0.061294231563806534, 0.0422002337872982, 0.01071759220212698, -0.04136054962873459, -0.040313027799129486, -0.0034344757441431284, 0.041017163544893265, 0.03934352472424507, 0.014...
<p>I take two simultaneous measurements from two different regions of a biological system, where both signals can be modelled by simple exponential rise and decay: $$ I(t)=(1-e^{-t/\tau_{rise}})(e^{-t/\tau_{decay}}) $$ First, by kernel matching to get initial coefficients, and later by nonlinear regression (<code>nlinf...
g22825
[ 0.027583494782447815, -0.044873837381601334, -0.005235245916992426, 0.024057582020759583, 0.03463384136557579, -0.03898840397596359, 0.014551947824656963, -0.011748001910746098, -0.0635911226272583, 0.0180292297154665, -0.04642021283507347, 0.009518872946500778, 0.029982011765241623, 0.057...
<p>For example, I have a set of numbers (say 0 to 10) that are presented to 100 subjects. Each subject is asked whether the number is a small or a large number. </p> <p>The results are that 100 people think zero is a small number, 70 people think one is a small number, etc. </p> <p>Now I use a certain distribution, s...
g64591
[ 0.020795555785298347, -0.0008166809566318989, -0.006649321876466274, -0.062491320073604584, 0.013629008084535599, -0.01638282649219036, -0.029361415654420853, 0.014790738932788372, -0.032991766929626465, 0.0397481732070446, 0.027331167832016945, -0.0033299080096185207, 0.06826458126306534, ...
<p>I am working out a book on Lebesgue measure by Bartle, and would like to see the steps that go into the construction of a proof for the following:</p> <blockquote> <p>Show that any $\sigma$-algebra of subsets of $\mathbb{R}$ which contains all open intervals also contains all closed intervals.</p> </blockquote>...
g64592
[ 0.04958915337920189, 0.02860751748085022, 0.010355319827795029, -0.014898189343512058, -0.013770255260169506, -0.039759062230587006, 0.04447353631258011, 0.017539313063025475, -0.0012685274705290794, -0.0005552368238568306, -0.053775936365127563, 0.06493350863456726, -0.006541500333696604, ...
<p>Is there any agreement on when to reduce data dimension before clustering in order to avoid curse of dimensionality?</p> <p>My intuition is that if I have say 1000 points and data dimension is 10 then it is OK to cluster. But if dimension is 50 then it is not OK because data points become sparse and hard to cluster...
g64593
[ 0.051655400544404984, 0.024587249383330345, 0.02666131965816021, -0.033283207565546036, -0.028853625059127808, 0.025074267759919167, 0.011282800696790218, -0.003263267455622554, -0.06766146421432495, 0.017586350440979004, 0.0367870032787323, 0.018717410042881966, 0.0052018845453858376, 0.0...
<p>I'm trying to wrap my head around dynamic factor analysis. So far, my understanding is that DFA is just factor analysis plus a time series model on the scores (the loadings remain fixed). However, in the cases that I've seen, the model on the scores is just a random walk with a diagonal correlation matrix. This seem...
g37970
[ -0.022081326693296432, 0.024498160928487778, -0.0024460519198328257, -0.038124412298202515, -0.004290434997528791, -0.05218994989991188, 0.10494189709424973, -0.036549072712659836, -0.03361336514353752, -0.049176283180713654, -0.0034205797128379345, 0.003805524902418256, 0.0685550794005394, ...
<p>I'm running mixed design ANOVA using R. Somehow, I got incorrect values for the Df. There are two factors: <code>time</code> (within subjects), and <code>task</code> (between subjects). <code>Time</code> has four levels and <code>task</code> has three levels. I expected to find Df 3 for <code>time</code> and Df...
g64594
[ -0.005342473741620779, -0.03940276801586151, 0.010585905984044075, -0.045864492654800415, 0.027971746399998665, 0.024921737611293793, 0.039509132504463196, -0.0025190466549247503, -0.045225996524095535, -0.044404953718185425, -0.03305785730481148, 0.007410211954265833, 0.04644153639674187, ...
<p>I am trying to understand how to apply the <a href="http://en.wikipedia.org/wiki/Intraclass_correlation_coefficient" rel="nofollow">intraclass correlation coefficient</a>.</p> <p>The situation we have is the following: we have $k$ judges who can assign numerical ratings to targets, and we want to test the reliabili...
g64595
[ -0.02388964779675007, -0.04220028221607208, -0.010765853337943554, -0.03196701779961586, -0.0029787681996822357, -0.013523034751415253, 0.08400456607341766, 0.02868991531431675, -0.05371471866965294, -0.05847737938165665, -0.031089123338460922, 0.03585813567042351, -0.005217072553932667, 0...
<p>When preforming Johansen Cointegration test for 2 time series (the simple case) you need to decide the lag you want to use. Doing the test for different lags return different results: for some lag levels the null hypothesis can be rejected but for others it can't.</p> <p>My question is what is the right method base...
g22832
[ 0.07395422458648682, 0.008275246247649193, 0.00034984559169970453, -0.042962465435266495, 0.02554377354681492, -0.011148211546242237, 0.05503266677260399, -0.008179106749594212, -0.06090399995446205, 0.0061257146298885345, 0.002550113247707486, 0.03290306776762009, 0.03823944926261902, 0.0...
<p>I have a set of data about the incidence of certain types of infections that occur in hospitals. The analysis has looked at the incidence trend for all aggregated results in a time series. This uses a GAM fitted spline to identify the incidence trend for aggregated data.</p> <p>Over the past year the incidence tren...
g22201
[ 0.01119524147361517, 0.0015421651769429445, -0.0019901711493730545, -0.06935377418994904, -0.010336142033338547, -0.006300340872257948, 0.017181843519210815, 0.04892878234386444, -0.041354041546583176, -0.025591520592570305, 0.0533289834856987, 0.028932703658938408, 0.09984084963798523, 0....
<p>I have to find the similarity between two documents. The two documents are simple text documents and i have to report a score. I was using cosine similarity initially. But I was told that LSA is a better means. But when I got to read a few tutorials i always noticed that they used more than two documents. </p> <p>S...
g64596
[ 0.03946506604552269, -0.03513387590646744, 0.039090346544981, -0.06477349251508713, -0.02217375673353672, -0.0017869074363261461, -0.03352748230099678, -0.023631539195775986, -0.02609778568148613, -0.036785054951906204, 0.009958249516785145, 0.03973083943128586, 0.039304859936237335, -0.02...
<p>I would like to fit a multivariate regression model of an ordinal random vector using ordinal variables as covariates. I am wondering if there is anything implemented in R or other software that could do that. Or, alternatively using a Bayesian approach. </p>
g22835
[ 0.016375958919525146, -0.06388232856988907, -0.0019105755491182208, -0.062343671917915344, -0.07333651185035706, -0.0430847592651844, -0.025787921622395515, -0.01693064346909523, -0.03922450914978981, -0.004000307060778141, 0.06430932879447937, -0.02196226641535759, 0.017267858609557152, 0...
<p>I think this is a straightforward question, although the reasoning behind why or why not may not be. The reason I ask is that I have recently written my own implementation of a RF and although it performs well it is not performing quite as well as I had expected (based on the <a href="http://www.kaggle.com/c/PhotoQu...
g64597
[ -0.026821233332157135, -0.04921727627515793, 0.02246939204633236, -0.00814137514680624, -0.042642537504434586, -0.03061542846262455, 0.003441152162849903, 0.035164643079042435, -0.01430597435683012, -0.03680352494120598, 0.06754270941019058, 0.012430420145392418, 0.05085313692688942, 0.015...
<p>At a given node, random forests sample <code>k</code> (aka <code>mtry</code>) variables (predictors). Then they pick the variable for which they get the best split.</p> <p>How is this specifically determined? From what I understand RF do something like this:</p> <pre><code>for variable in variables_sampled: for t...
g489
[ -0.009763159789144993, -0.060328058898448944, -0.014713342301547527, -0.010408121161162853, 0.0295930914580822, -0.06463814526796341, -0.02286585234105587, 0.08750521391630173, -0.003334652166813612, 0.015121099539101124, -0.011535768397152424, 0.016899723559617996, 0.03182613477110863, -0...
<p>The number of breakdowns Y per day for a certain machine is a Poisson random variable with mean $\lambda$. The daily cost of repairing these break downs is given by $C=3Y^2$ If $Y_1, Y_2, ..., Y_n$ denote the observed number of breakdowns for $n$ independently selected days find an MVUE for $E(C)$.</p> <p>We can us...
g64598
[ -0.015012579970061779, 0.008717653341591358, -0.0275125652551651, -0.06882360577583313, -0.009984687902033329, -0.0604185126721859, 0.07967465370893478, 0.007786725647747517, 0.001746765454299748, 0.01931479573249817, -0.014355584047734737, -0.0006951676332391798, -0.012107309885323048, 0....
<p>So I am trying to figure out if there is a nice decomposition for sampling from the multivariate Student's t-distribution like there is for sampling from the multivariate normal distribution: <a href="http://en.wikipedia.org/wiki/Multivariate_normal_distribution#Drawing_values_from_the_distribution" rel="nofollow">...
g22842
[ 0.005241367034614086, -0.01541501097381115, 0.0067609744146466255, -0.08625044673681259, -0.07900840044021606, -0.043222345411777496, 0.009273914620280266, 0.0023615595418959856, -0.0041400049813091755, 0.011657102964818478, 0.017242195084691048, -0.05600159615278244, 0.017333567142486572, ...
<p>I'm trying to run discriminant function analysis on 27 acoustic, temporal and descriptive variables I obtained from animal calls. However, a number of these variables are collinear because they were calculated from other variables. For example: f0 range = f0 high - f0 low. </p> <p>Previous work using the same varia...
g64599
[ 0.03306633234024048, -0.08843199908733368, 0.020174171775579453, -0.0722089633345604, 0.02115240879356861, -0.042911455035209656, 0.03802725672721863, 0.010803653858602047, -0.022334368899464607, -0.025878846645355225, -0.008886069990694523, 0.06672897189855576, 0.01328131090849638, 0.0347...
<p>Say I have predictor array <code>x:(n,px)</code> and a predicted array <code>y:(n, py)</code>. What would be the best way in Python to calculate all regression coefficients (linear) from <code>x</code> to each dimension of <code>y</code> (<code>1...py</code>)? The output of the whole thing would be a matrix <code>(p...
g64600
[ 0.016944563016295433, -0.04378684610128403, 0.009222900494933128, -0.0574193149805069, -0.020792240276932716, -0.08496145159006119, -0.001934665022417903, 0.021410996094346046, -0.05252283811569214, 0.0025580700021237135, -0.029582472518086433, 0.08092246949672699, 0.03650248423218727, 0.0...
<p>i am learning data mining through <a href="http://stats.stackexchange.com/questions/51416/k-fold-vs-monte-carlo-cross-validation">book</a> . During classification chapters about Neural Networks the authors have below code. I have below questions:</p> <pre><code>## pre2008 &lt;- 1:nrow(training) ## training is a dat...
g64601
[ 0.039877135306596756, 0.008306498639285564, -0.0004976607742719352, -0.027725541964173317, 0.029726287350058556, 0.007903155870735645, 0.07688134163618088, -0.012062128633260727, -0.06974178552627563, -0.014111869968473911, -0.022636519744992256, 0.0788150355219841, 0.04072211682796478, 0....
<p>We are a financial institution which falls under this ‘Big Bank’ category. As a part of our routine analysis on input variables that feed several of our risk models, we would like to setup an input monitoring system that can trigger any drastic changes in the trend/pattern in our input variables over different perio...
g34991
[ 0.01828528754413128, -0.06047852709889412, 0.006630986463278532, 0.0016459461767226458, -0.01512755174189806, -0.067637600004673, 0.03526065871119499, 0.00813884474337101, -0.033937446773052216, 0.0038197780959308147, -0.01199838612228632, 0.04870739206671715, 0.017991928383708, -0.0000333...
<p>I'm trying to understand the idea behind the Topic Models in document clustering. In Latent Dirichlet Allocation, it is necessary to approximate the posterior distribution of topics over the document. One of the methods is Gibbs sampling - I'm not sure if I understand how it works - I'm basing my understanding on th...
g64602
[ 0.02523426152765751, -0.002600058214738965, -0.0019338753772899508, -0.050985950976610184, 0.0032323701307177544, -0.004019942134618759, -0.036698490381240845, 0.001557348296046257, -0.027949258685112, -0.013789236545562744, -0.019647877663373947, -0.03249781206250191, 0.006150797940790653, ...
<p>I have scoured around, reading posts on Cross Validated (<a href="http://stats.stackexchange.com/questions/20523/difference-between-logit-and-probit-models#30909">Difference between logit and probit models</a>) and also looking at references including Dobson and McCullagh and Nelder, e.g. <a href="http://www.statsci...
g64603
[ -0.0004603372944984585, -0.030138900503516197, -0.016620974987745285, -0.04393026605248451, 0.0641769990324974, -0.0117244403809309, 0.028830697759985924, -0.0098408879712224, -0.03560631349682808, -0.06179709732532501, -0.005036964546889067, 0.006279121618717909, 0.03411256521940231, -0.0...
<p>Imagine you are receiving a message over and over via a lossy data path. The path causes bit errors but does not affect the length of the message (or shift any bits). You don't know the <em>actual</em> message but you will get many copies of it so you can reconstruct it (e.g. with a median filter). You want to es...
g64604
[ -0.005835596937686205, -0.0690549910068512, 0.00608860794454813, -0.02794656716287136, 0.009741129353642464, -0.040802907198667526, 0.04474997892975807, 0.0229153111577034, -0.03452063724398613, -0.03243494778871536, 0.0071639493107795715, 0.0609513558447361, 0.03758804872632027, 0.0382976...
<p>I'm using particle filters for inference in a hidden markov model with an infinite state-space. My current state-variable is multidimensional and there are interdependencies between some dimensions. I thought therefore, that it would be beneficial, if I split it up into sub-states and model ther dependences in a sma...
g64605
[ 0.008086719550192356, -0.01395703200250864, -0.013450282625854015, -0.003631425555795431, -0.027923326939344406, -0.039576176553964615, 0.008753934875130653, 0.028687335550785065, -0.027919933199882507, -0.047262221574783325, 0.007988156750798225, -0.03274079039692879, -0.003461096901446581,...
<p><a href="http://stats.stackexchange.com/questions/10856/what-is-the-distribution-of-the-difference-of-two-t-distributions">What is the distribution of the difference of two-t-distributions</a> suggests that the sum of two t-distributions is never t distributed. </p> <p>With t distribution I mean the (non-standardiz...
g64606
[ 0.025397036224603653, 0.012764922343194485, -0.027331842109560966, -0.0009859328856691718, 0.041208721697330475, -0.0059939720667898655, 0.0030560095328837633, 0.014194032177329063, -0.002093534218147397, 0.00030847490415908396, -0.07311198860406876, -0.016374802216887474, 0.0237054359167814...
<p>I'm implementing the k-means algorithm (in R Map-Reduce) and I wanted to verify if the output I'm getting is close enough to the true centroids of the cluster. This is how I'm verifying with a 2D dataset currently: I plot both the dataset and the centroids I've got as output and see if the centroids are close to the...
g64607
[ 0.006610575597733259, -0.043720267713069916, 0.012529178522527218, -0.011307948268949986, -0.05067647993564606, 0.001560628297738731, 0.009219157509505749, -0.022276323288679123, -0.059773191809654236, 0.03162122517824173, 0.017476843670010567, 0.0423797145485878, 0.0491330511868, 0.012842...
<p>I'm playing with a randomForest and have found that generally increasing the sampSize leads to better performance. Is there a rule / formula / etc that suggests what the optimal sampSize should be or is it a trial and error thing? I guess another way of phrasing it; what are my risks of too small of a sampSize or ...
g64608
[ 0.0013949215644970536, 0.05838518217206001, -0.004760943353176117, -0.022949522361159325, -0.00325256516225636, -0.0018604799406602979, -0.015383398160338402, 0.015850016847252846, 0.0016214491333812475, -0.009731551632285118, 0.03079509176313877, -0.036676254123449326, -0.005397575907409191...
<p>I am working on a project on gesture recognition(in c# language). In some part I had to use neural networks using the sigmoid activation function. I am using the aforge.net(http://www.aforgenet.com/) library for the same. The system developed gets trained when I use a certain part of the training data. However when...
g42466
[ 0.005056249909102917, 0.021713079884648323, 0.014685219153761864, -0.04852975904941559, 0.012357858940958977, -0.03587789088487625, 0.08687292784452438, 0.02483195625245571, -0.05893518775701523, -0.026547638699412346, -0.0007225027657113969, 0.02476993016898632, 0.06448253989219666, 0.044...
<p>It has been a few years since I fit a mixed model, so I have gone on a massive review session on old notes, books (Pinheiro and Bates, Faraway, etc) and going through the posts on SO and CV about mixed models. It has been great, but I am left with a few questions that are likely so basic they are missed in most of t...
g22268
[ -0.0010226053418591619, -0.07161395996809006, -0.015261813066899776, -0.019059060141444206, -0.027992215007543564, 0.0019020605832338333, 0.08937644958496094, -0.034751854836940765, -0.006773253437131643, 0.002590279094874859, 0.025039270520210266, 0.015981795266270638, 0.01907600834965706, ...
<p>I'm wondering if someone could suggest what are good starting points when it comes to performing community detection/graph partitioning/clustering on a graph that has <strong>weighted</strong>, <strong>undirected</strong> edges. The graph in question has approximately 3 million edges and each edge expresses the degr...
g42467
[ 0.09082523733377457, 0.018676551058888435, -0.002322818385437131, -0.038826290518045425, 0.0024345365818589926, -0.028467543423175812, -0.048711419105529785, 0.034310195595026016, 0.03750142082571983, 0.014268937520682812, 0.00882746186107397, -0.003236312186345458, 0.04901346564292908, -0...
<p>I need to automatically identify if a time series is intermittent or not. Depending on the result I'll use one or another method for forecasting it.</p> <p>Is there any test to detect intermittent time series?</p>
g64609
[ 0.04311355948448181, -0.03450975567102432, 0.029945556074380875, -0.03263305872678757, -0.04941128194332123, -0.06520999222993851, -0.008442362770438194, 0.001406508730724454, -0.05503784492611885, -0.014734654687345028, 0.00949082337319851, 0.019491305574774742, -0.016211898997426033, 0.0...
<p>I'm running a glmm with the lme4 package in R that looks like the following:</p> <pre><code>glmer(y ~ factor1 + factor2 + (1 | RE), data=data, poisson) </code></pre> <p>And I get the following warning message:</p> <pre><code>Warning message: In mer_finalize(ans) : gr cannot be computed at initial par (65) </code>...
g22853
[ 0.04799071326851845, -0.03472278639674187, -0.014294879510998726, -0.03299849107861519, 0.025528404861688614, -0.0035163513384759426, 0.01129193790256977, 0.0020568538457155228, -0.0860021561384201, -0.04373273625969887, -0.0012683665845543146, 0.07153146713972092, -0.006677908822894096, -...
<p>I have MLE curve parameter estimates for 3 populations (2 per population), and am looking for a clever way to compare them. At the moment, I am non-parametrically bootstrapping my datasets in order to create <em>n</em> datasets, which I then compare using a standard MANOVA procedure. I have a number of issues with t...
g64610
[ -0.0011090534972026944, -0.03739767149090767, 0.009501250460743904, -0.007905805483460426, -0.012729250825941563, 0.02812013402581215, 0.028190819546580315, -0.027548516169190407, -0.052462391555309296, 0.025424476712942123, 0.059566400945186615, -0.02427690289914608, 0.03677954897284508, ...
<p>I was wondering if it is OK to use one-way ANOVA after normalisation to the untreated controls? This is in an animal model of wound healing where there are 4 wounds per animal, one untreated and 3 treated with different drugs. I have noticed that the healing rate differs between animals so in order to reduce the sta...
g64611
[ -0.004854971542954445, -0.0494709238409996, -0.004649789072573185, -0.030107785016298294, -0.012875135987997055, 0.007795857265591621, 0.00974118523299694, 0.07119325548410416, 0.022643709555268288, -0.032443322241306305, 0.03966923803091049, 0.01056367252022028, 0.00009712151950225234, -0...
<ul> <li>Is the sample semi-partial correlation a biased estimate of the population semi-partial correlation?</li> <li>If it is biased, what is an unbiased estimator of the population semi-partial correlation?</li> <li>Are there are any references in the statistical literature that discuss this? </li> </ul>
g64612
[ 0.03565476834774017, -0.015983084216713905, 0.03548319265246391, -0.04122801870107651, 0.007258719764649868, 0.0005762854707427323, 0.0018056515837088227, 0.0016762373270466924, 0.03877197951078415, -0.0007834097486920655, 0.02348722517490387, -0.04698292165994644, -0.03941860795021057, 0....
<p>I am having a hard time to understand how one derives the jackknife bias for the variance and mean. </p> <p>1) Why do we need an inflation factor of $(n-1)$ when calculating the jackknife bias of the mean?</p> <p>2) How does one derive the jackknife bias for the variance? </p>
g64613
[ 0.029240362346172333, 0.010123605839908123, -0.009768159128725529, 0.006683856714516878, -0.008349712938070297, 0.018235227093100548, -0.007333038374781609, 0.00846835132688284, -0.03368962183594704, -0.032883886247873306, -0.05609673634171486, 0.053039852529764175, 0.018886616453528404, 0...
<p>I am attempting to analyze my (experimental psych) data in SPSS, and I have a few questions regarding the kind of analysis I should be using (GEE or GLMM), how I should be interpreting the output, and how I should be selecting the best fitting model. </p> <p>(Disclaimer: Regression analyses in general are fairly ne...
g42472
[ 0.00098787946626544, -0.08127143234014511, 0.005763886496424675, -0.02313508465886116, 0.02748159132897854, -0.015173247084021568, 0.05907699838280678, 0.04780473932623863, -0.0006992447306402028, 0.0010543722892180085, 0.021317165344953537, -0.019787946715950966, 0.02485230751335621, 0.03...
<p>I have a binary classification problem and I experiment different classifiers on it: I want to compare the classifiers. which one is a better measure AUC or accuracy? And why?</p> <pre><code>Raondom Forest: AUC: 0.828 Accuracy: 79.6667 % SVM: AUC: 0.542 Accuracy: 85.6667 % </code></pre>
g64614
[ 0.04591536894440651, -0.0267271026968956, 0.030351869761943817, -0.029975827783346176, 0.052759502083063126, -0.038181331008672714, -0.010751646012067795, 0.01968337595462799, -0.02653481997549534, -0.011195451952517033, 0.0006194362067617476, 0.05705555900931358, 0.01604943349957466, 0.00...
<p>After performing a factor analysis on a set of variables, I have one variable that loads equally on two factors.</p> <ul> <li>What should I do with this variable that loads equally on two factors?</li> <li>Should I remove this variable from the factor analysis, and rerun the factor analysis?</li> </ul>
g41826
[ 0.029438748955726624, -0.043821584433317184, 0.010805771686136723, -0.07398082315921783, 0.02695920504629612, -0.024233192205429077, -0.007158653344959021, 0.020033981651067734, -0.036723557859659195, 0.00685485964640975, -0.003698008833453059, 0.03461625427007675, -0.05957162752747536, 0....
<p>I have estimated a model with many interactions of both continuous and factor explanatory variables. The model is to be used for prediction.</p> <p>My model has performed reasonably in out-of-sample testing. </p> <p>However, I have found that my errors are correlated. </p> <p>I took my fitted values of y and ran ...
g64615
[ 0.06535454839468002, -0.03024977818131447, -0.016685904935002327, -0.025090618059039116, 0.01805708557367325, -0.018609315156936646, 0.021783174946904182, 0.0015455266693606973, 0.01000696886330843, 0.004519078880548477, -0.0013820633757859468, -0.00746893510222435, 0.02651774324476719, 0....
<p>I learnt about PCA a few lectures ago in class and by digging more about this fascinating concept, I got to know about sparse PCA.</p> <p>I wanted to ask, if I'm not wrong this is what sparse PCA is: In PCA, if you have n data points with p variables, you can represent each data point in p dimensional space before ...
g64616
[ 0.037709321826696396, -0.06037100404500961, 0.008635289035737514, -0.037245579063892365, -0.00561161944642663, -0.04904010519385338, 0.08504265546798706, 0.025387050583958626, -0.033642321825027466, -0.02869761548936367, 0.006836823653429747, 0.0021774163469672203, -0.012754574418067932, 0...
<p>A psychiatrist hires you to study whether her clients self-disclosed more while sitting in an easy chair or lying down on a couch. All clients had previously agreed to allow the sessions to be videotaped for research purposes. You randomly assigned 10 clients to each condition. The third session for each client was ...
g22856
[ 0.03170785680413246, 0.04556944966316223, -0.025204865261912346, -0.06032910943031311, 0.01867689937353134, -0.02010674960911274, 0.0392339751124382, -0.006586531177163124, 0.018697183579206467, -0.01392883900552988, -0.04806230962276459, -0.018776029348373413, -0.02098177932202816, 0.0485...
<p>I am trying to map slowness of underwater sound velocity in a river using some tomographic device. The location of each acoustic receiver/transmitter is shown in the picture below</p> <p><img src="http://i.stack.imgur.com/dM7wr.png" alt="enter image description here"></p> <p>To find the slowness m={S11,S12,S13, .....
g64617
[ 0.011236341670155525, -0.06994952261447906, 0.010114656761288643, -0.08335421979427338, 0.05282706022262573, -0.05906398966908455, 0.05313710495829582, 0.01783115789294243, -0.0013566724956035614, -0.003999668639153242, -0.024489710107445717, 0.07345253974199295, 0.01195484958589077, 0.024...
<p>I'm brand new to SAS programming, and I'm having difficulty figuring out this issue:</p> <p>I have two sets of data</p> <p>1st set has 4 columns (income is a continous range of numbers, sex is 0 for male - 1 for female, and employed is 0 for yes - 1 for no.</p> <pre><code>id | income | sex | employed </code></pre...
g64618
[ -0.003347818972542882, -0.022338757291436195, -0.01580006629228592, -0.03529975563287735, 0.02695763297379017, -0.0016304777236655354, -0.019182387739419937, -0.033291853964328766, -0.06448428332805634, -0.054125357419252396, 0.035039521753787994, 0.0319695807993412, 0.07959382236003876, -...
<p>I have exponentially distributed probability of event $E$ </p> <p>$$P(E|a) = a \exp(-aE),$$ </p> <p>where $a$ is the rate parameter of the exponential distribution.</p> <p>Now the probability distribution for $a$ is a Gamma distribution with parameters $d$ and $b$</p> <p>$$P(a|d,b) = b^d a^{d-1} \exp(-ba) / \...
g64619
[ 0.045748233795166016, -0.032162293791770935, -0.012451798655092716, -0.042486052960157394, 0.06013074144721031, 0.00500024389475584, 0.026964755728840828, 0.03408869728446007, 0.02698192559182644, -0.015797730535268784, 0.023208554834127426, 0.010739350691437721, -0.007753491867333651, -0....
<p>How would I go about checking for autocorrelation if I had a few thousand observations for each time period and had about 15 different time periods? The data set I am working with has a lag variable which is obviously very influential but I am concerned about the bias in my other predictors when I use this lag vari...
g64620
[ 0.04981830716133118, 0.00041442527435719967, -0.00146255805157125, -0.049843866378068924, -0.009782783687114716, -0.00031971774296835065, 0.05517883226275444, 0.0031118763145059347, -0.02010778710246086, -0.021332381293177605, 0.06367368251085281, 0.0665096715092659, 0.050105880945920944, ...
<p>I have some data on serving sizes of a particular food (raw oysters), and I am trying to determine what probability distribution I should select to model these data for a risk assessment (RA). The R package I am planning to use for the RA (mc2d) uses a gamma distribution for serving size in its example, although the...
g64621
[ 0.05081721395254135, -0.00640441570430994, 0.0016739715356379747, -0.04865143075585365, 0.014951491728425026, 0.000594287586864084, 0.0014997459948062897, 0.0012869385536760092, -0.049687474966049194, 0.0035476640332490206, 0.03611000254750252, 0.016843466088175774, 0.01948961801826954, 0....
<p>I have trouble finding the following sufficient statistics.<br> How do you do this?<br> $$X\sim \Gamma(\alpha, \beta)$$ $$f(x;\alpha, \beta)=\frac{e^{-x/\beta}x^{\alpha-1}}{\Gamma(\alpha)\beta^\alpha}$$ </p> <p><strong>Question</strong>: Is $log(X_1+X_2)$ a sufficient statistic for beta? </p> <p>I am using the f...
g64622
[ -0.010104071348905563, 0.05855758115649223, 0.0029251002706587315, -0.018907815217971802, 0.04099704697728157, -0.044214386492967606, 0.03641713783144951, 0.008589404635131359, -0.04396631568670273, -0.03681382164359093, -0.022665992379188538, -0.009541759267449379, -0.012783437967300415, ...
<p>I'm currently trying to implement a model along the lines of <a href="https://dspace.lboro.ac.uk/dspace-jspui/bitstream/2134/8928/1/UPhDIMA_June_2009owen.pdf" rel="nofollow">Owen (2009)</a> and <a href="http://wilson.engr.wisc.edu/rsfc/oth_sites/rate/papers/knorr-held99dynamic.pdf" rel="nofollow">Knorr-Held (2000)</...
g3785
[ -0.057594116777181625, 0.01273479126393795, -0.028232961893081665, -0.06057121604681015, -0.0017744831275194883, -0.04082101210951805, 0.05587494745850563, -0.009628744795918465, -0.045096103101968765, -0.018265891820192337, -0.005848863627761602, 0.0258535984903574, 0.041775740683078766, ...
<p>I have two signals <em>s1</em> and <em>s2</em>, sampled 170 times each.</p> <pre><code>x = 0.2:0.2:34; s1 = rand(size(x)); s2 = randn(size(x)); </code></pre> <p>The calculation of the MI (mutual information) between two discrete variables requires knowledge of their marginal probability distribution functions and ...
g64623
[ -0.01846078224480152, -0.05831212177872658, 0.009230279363691807, -0.028029505163431168, -0.020919932052493095, -0.011265896260738373, -0.004632743075489998, 0.02330019883811474, -0.0973874032497406, 0.0019513799343258142, 0.045472439378499985, 0.019019415602087975, 0.03284445032477379, -0...
<p>Let's say I have a questionnaire about a toy and I ask:</p> <ol> <li>The person to rate the toy on a scale of "bad, medium, good"</li> <li>How much the person thinks it cost to make the toy</li> </ol> <p>I want to test whether there's a (monotonic) relationship between the two variables. What's the best way of doi...
g64624
[ 0.029460998252034187, -0.03638121485710144, -0.01630060002207756, -0.09767086058855057, 0.017637060955166817, -0.0477665476500988, 0.006692357361316681, -0.03961408510804176, 0.01664804480969906, -0.008355740457773209, 0.02627684734761715, 0.02399047464132309, 0.05087579786777496, 0.035142...
<p>I was given the returns of a cross-asset class portfolio of ETFs and I conducted PCA to obtain factors on dates from T-n, T-3, T-2,..., T. What I would like to do is decompose the market moves from T+1, T+2, ... onwards into combinations of the PCs.</p> <p>My questions is, what sort of algorithm or optimization met...
g64625
[ 0.031323112547397614, -0.009868218563497066, -0.008945157751441002, -0.027846727520227432, 0.04261951148509979, -0.04553396627306938, 0.055749885737895966, -0.01993315853178501, -0.0801873505115509, 0.03283560648560524, -0.02271183580160141, -0.04141201078891754, 0.009360551834106445, 0.00...
<p>i'm trying to compute the variance of the random variable </p> <p>$$X = \frac{1}{N}\sum_{i=1}^N x_i$$</p> <p>where $x_i$ are correlated identical random variables (mean and variance defined) obtained from a stationary stochastic process.</p> <p>I've reached the point where, with algebra only, I obtain </p> <p>$$...
g64626
[ 0.00424402067437768, -0.039404794573783875, -0.012222575955092907, -0.04428722336888313, -0.004063442815095186, -0.021455969661474228, 0.06745612621307373, -0.021633997559547424, -0.0455322228372097, -0.01478754635900259, 0.0011789754498749971, 0.05806950107216835, 0.0010925556998699903, 0...
<p>Can anyone give a definition for Geometric Autoregressive Process? Any specific properties? And, in what fields is this mostly applied?</p> <p>To add some context to the question, here is a section of the original Mathematica code that mentions the process:</p> <pre><code> n = 1000; \[Lambda] = n \[Gamma]; \[Cap...
g64627
[ 0.06345532089471817, -0.02955043874680996, -0.017674461007118225, -0.03647444769740105, 0.009916652925312519, -0.027107171714305878, 0.09439899027347565, 0.016772739589214325, -0.03804337605834007, 0.019140981137752533, -0.04827171191573143, 0.0743992030620575, 0.07425639033317566, -0.0222...
<p>I am trying fit an ARIMA model to stock returns.</p> <p>I have reached a decent model using the AIC criterion. </p> <p>However, the ljung-box p value under a diagnostic plots are pretty weird. The null hypothesis get rejected at higher lags. I tried modifying the parameters, but L-B p value betters only marginall...
g64628
[ 0.07567247748374939, -0.02313210628926754, -0.018836114555597305, -0.05425642803311348, 0.044148195534944534, 0.011225716210901737, 0.014554250985383987, -0.01235047634691, -0.02015596069395542, -0.02176201529800892, 0.07336146384477615, 0.05136270076036453, 0.09305725246667862, 0.02605236...
<p>I have a fine <code>randomForest</code> classification model which I would like to use in an application that predicts the class of a new case. The new case has inevitably missing values. Predict won't work as such for NAs. How should I do this then?</p> <pre><code>data(iris) # create first the new case with missin...
g64629
[ 0.03767584636807442, -0.05328594520688057, 0.008775722235441208, -0.059130653738975525, 0.046679943799972534, 0.007336457259953022, 0.0011824739631265402, -0.0013819618616253138, -0.011579678393900394, -0.03117106668651104, 0.009463992901146412, 0.010606620460748672, 0.07783360034227371, 0...
<h3>Weighting in sequence analysis</h3> <p>So far, I have scarcely found papers that address the issue of weighting for sequence analysis (using for example the optimal matching algorithm). Sequence analysis normally involves several steps: </p> <ol> <li>setting or calculation of substitution and insertion/deletion ...
g64630
[ 0.042850565165281296, -0.017922883853316307, -0.00078871805453673, -0.008517388254404068, 0.0018997422885149717, -0.05071390047669411, 0.019456181675195694, 0.04386712238192558, -0.06985467672348022, 0.027564093470573425, -0.039856452494859695, -0.03876689448952675, -0.0013669395120814443, ...
<p>I am wondering about the correct statistical analysis for an experiment involving 2 independent variables (treatment A, 4 levels and treatment B, 2 levels) and one dependent variable (C, score). Because subjects undergo all levels of both treatments, I am assuming a two-way within-subject (repeated-measures) ANOVA (...
g22866
[ -0.035697996616363525, -0.03963908553123474, -0.007321097422391176, -0.01846391335129738, -0.02400059625506401, 0.004747752100229263, 0.018133675679564476, -0.0023027292918413877, -0.04448777809739113, 0.007689890917390585, 0.004915308207273483, 0.012714595533907413, -0.024142887443304062, ...
<p>I would like to perform an A/B Test on my website. I have basic knowledge on know how to do a basic test statistics, but I'm not sure on how to choose the sample size. In particular, if I have an event with a conversion rate (before the campaign) very very low, let's say p = 1/10^6. To apply the C.L.T. on p for a gi...
g64631
[ 0.014689953997731209, 0.0005216864519752562, -0.009903349913656712, -0.021215157583355904, 0.001123682945035398, -0.020786339417099953, -0.007006980013102293, 0.07800235599279404, 0.04147240146994591, -0.012781849130988121, 0.05510937049984932, -0.004664221312850714, 0.015222186222672462, ...
<p>I am reading this paper: <a href="https://dipot.ulb.ac.be/dspace/bitstream/2013/96837/1/2011-025-ARIAS_DEHON-theroads.pdf" rel="nofollow">https://dipot.ulb.ac.be/dspace/bitstream/2013/96837/1/2011-025-ARIAS_DEHON-theroads.pdf</a></p> <p>On page 23 (of the paper, not the pdf) they have a table showing the "outcome h...
g64632
[ -0.0005123810842633247, 0.005929737817496061, -0.021412167698144913, -0.047316648066043854, 0.039804983884096146, 0.008975187316536903, 0.04925249516963959, 0.025914616882801056, 0.00508468272164464, 0.011627763509750366, -0.0427979975938797, 0.03211376070976257, 0.08191974461078644, -0.02...
<p>I'm not a statistician so maybe this question doesn't make sense, but here goes...</p> <p>I'm trying to write some code that does a 2-sided Fisher's exact test on some data that looks like this:</p> <pre><code>| GROUP | SAMPLE_NUMBER | TOTAL_RESULT | BAD_RESULT | ---------------------------------------------------...
g64633
[ -0.05164704844355583, -0.03207266330718994, 0.00730391638353467, -0.0739530622959137, 0.03519285097718239, 0.005957475863397121, -0.006757269147783518, 0.007918902672827244, -0.09555421024560928, 0.010948546230793, -0.01493297703564167, 0.024549659341573715, 0.00364062306471169, 0.02109080...
<p>I am running a VAR based Granger non-causality tests. I've obtained asymptotic and bootstrap $p$ values for Wald joint test of 0 restriction on a set of lagged variables. It appears that bootstrap based models fail to reject Granger non-causality more often than the models based on asymptotic theory.</p> <p>My ques...
g64634
[ 0.05123760923743248, -0.015816958621144295, -0.0027327663265168667, -0.012997565791010857, 0.04387127235531807, -0.028462503105401993, 0.04375765100121498, -0.0014444617554545403, -0.05784301832318306, -0.002581131411716342, 0.09139490872621536, 0.03173204883933067, 0.03590598329901695, 0....