question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>The following process $X$ is generated as the sum of a structure $y$ and an $AR(1)$ process with $\phi=0.4$ and $\sigma_{\epsilon}^2=1$:</p> <pre><code>N=200 # length of time series t=1:N A=20 # amplitude of the structure y = rep(0,N) a = 30 b = 170 y[a:b] = A * (t[a:b] - a)/ (b-a) # the structure (see the plot...
g62377
[ -0.0011681064497679472, -0.033970244228839874, -0.006309119518846273, -0.03519078716635704, -0.021651506423950195, -0.02628321573138237, 0.03505216911435127, -0.02009129896759987, 0.007019442040473223, -0.0029918740037828684, -0.029660306870937347, 0.07823441922664642, 0.034527137875556946, ...
<p>I am trying to find a simple algorithm to measure the probability of the proximity distance between location of randomly placed actual target and subject's guess of its location on an 8 x 8 grid (64 squares). I.e. if the guess is a MISS, what is the probability of the guessed location being located on any given squ...
g19422
[ 0.031742144376039505, -0.023284634575247765, 0.0008677053265273571, -0.05773354321718216, -0.04160883277654648, 0.004573349375277758, 0.023522164672613144, 0.020824478939175606, 0.004923561122268438, 0.001443941262550652, -0.003984016831964254, 0.05021585151553154, 0.035845886915922165, -0...
<p>Are there any limitations for using Cohen's kappa with sparse data? I need inter-rater agreement between 2 raters for ~15 items, and the data in the contingency table is quite sparse (0 in some cells, lots of values &lt; 5).</p>
g62378
[ 0.0035584396682679653, 0.011287230998277664, -0.0028301849961280823, 0.01063207071274519, 0.019373159855604172, -0.07637669891119003, 0.006422157399356365, 0.04404056817293167, -0.0745682641863823, -0.009404817596077919, 0.024972258135676384, -0.02366282232105732, -0.02264384925365448, 0.0...
<p>What is a good Python framework to use for statistical analysis using Bayes Nets.</p> <p>The following statistical frameworks in one way or other do not support expected features. </p> <p>Python Scikit does not have an implementation of Bayes Net. Looked into other Python implementation such as: Libpgm - not clea...
g19424
[ 0.046108126640319824, -0.0032898583449423313, 0.044613804668188095, -0.052306436002254486, -0.008181520737707615, -0.009649946354329586, -0.00665935967117548, 0.016335824504494667, 0.0035628261975944042, -0.0942767933011055, 0.07354794442653656, -0.00888375286012888, 0.029054444283246994, ...
<p>So, I have a data set of percentages like so:</p> <pre><code>100 / 10000 = 1% (0.01) 2 / 5 = 40% (0.4) 4 / 3 = 133% (1.3) 1000 / 2000 = 50% (0.5) </code></pre> <p>I want to find the standard deviation of the percentages, but weighted for their data volume. ie, the first and las...
g62379
[ 0.07066535949707031, 0.019271384924650192, -0.030337147414684296, -0.012343807145953178, -0.008141463622450829, -0.0245901420712471, 0.0029110631439834833, 0.014130651019513607, -0.07576965540647507, -0.03866197541356087, -0.0025818035937845707, -0.017195425927639008, 0.051461365073919296, ...
<p>I have some survival data from which I compute the annual failure rates. The parameter in which I am interested is the mean failure rate. </p> <p>Now I select certain subjects that have a given characteristic, so the sub-sample is not random. For example, I have very few subjects having the characteristic in the be...
g62380
[ 0.010111913084983826, -0.009087104350328445, -0.004482990130782127, 0.006443742662668228, -0.0504598394036293, 0.015088465064764023, 0.03706128150224686, 0.011954199522733688, -0.04272489249706268, -0.006614975165575743, 0.025768032297492027, 0.0349971279501915, 0.06717036664485931, 0.0305...
<p>I've read that Kolmogorov-Smirnov test should not be used to test the goodness of fit of a distribution whose parameters have been estimated from the sample.</p> <p>Does make sense to split my sample in two and use the first half for parameter estimation and the second one for KS-test?</p> <p>Thanks in advance</p>
g62381
[ 0.046514373272657394, -0.06129514053463936, 0.01580987125635147, 0.032724715769290924, -0.03841158375144005, 0.02546561509370804, -0.012012439779937267, 0.09520291537046432, 0.009704673662781715, 0.03059510700404644, -0.005938307382166386, 0.0033752566669136286, -0.004579467233270407, 0.03...
<p>Is there any known Bayesian, ML or MDL interpretation of cross-validation? Can I interpret cross validation as performing the right update on a specifically crafted prior?</p>
g3993
[ -0.010315577499568462, -0.028032293543219566, 0.020294824615120888, -0.02930876612663269, -0.013478178530931473, 0.04450279101729393, 0.038837723433971405, 0.02889423817396164, -0.02421184442937374, 0.01020877156406641, 0.021088387817144394, 0.008728363551199436, 0.04854390025138855, -0.01...
<p>I'm working with a large dataset consisting of just over 1 million cases. The data are longitudinal covering 14 years and hierarchical with about 500 of the level 2 units. Each case is a criminal sentence outcome (prison vs. no prison) and the level 2 units are the judges handling the cases. I'm trying to quantify...
g3994
[ 0.05587271228432655, -0.034562673419713974, -0.008374713361263275, -0.052159957587718964, 0.08487706631422043, -0.02610369585454464, 0.06380074471235275, 0.01596830040216446, -0.040202122181653976, 0.008679850026965141, 0.04000787064433098, 0.0007374517153948545, -0.005805663298815489, 0.0...
<p><img src="http://i.stack.imgur.com/nLqEA.jpg" alt="enter image description here"></p> <ul> <li>Why are there negative values in the range of the plot? </li> <li>How is the center of the plot (i.e., the $0.0$ point) found? </li> <li>How did the black-brown points end up in the third quadrant of the plot? </li> <l...
g49643
[ 0.028810681775212288, -0.007522169500589371, -0.028146184980869293, -0.01705140620470047, 0.03769529238343239, 0.017980989068746567, 0.037159208208322525, -0.014036976732313633, -0.0017040063394233584, 0.009218554943799973, 0.017198439687490463, 0.04363003745675087, 0.0772785097360611, -0....
<p>Lets say I have a normal distribution of estimates (e) for a random variable (v). At some point an event occurs where the value of the variable becomes known (v). Now I want to find a new distribution where i calculate the distance of all estimates from the known value (|v-e|). Since this new distribution is bounded...
g49644
[ 0.0351218618452549, -0.04402605816721916, -0.01970970630645752, -0.025781486183404922, -0.022505955770611763, -0.03825089707970619, -0.07331036031246185, 0.026542099192738533, -0.026418844237923622, -0.022668402642011642, -0.024508444592356682, 0.023321479558944702, 0.0025598513893783092, ...
<p>For non-statisticians like me, it is very difficult to capture the idea of <code>VI</code> metric (variation of information) even after reading the relevant paper by Marina Melia "<a href="http://www.sciencedirect.com/science/article/pii/S0047259X06002016" rel="nofollow">Comparing clusterings - An information based ...
g62382
[ 0.011887958273291588, -0.060663703829050064, -0.04557933285832405, -0.0227695032954216, 0.04521181806921959, -0.04453956335783005, 0.029787840321660042, -0.04142497479915619, -0.04959188401699066, -0.00653082923963666, 0.009620202705264091, 0.006413950119167566, 0.0772586390376091, -0.0092...
<p>I have this matrix:</p> <pre><code>habitats &lt;- matrix(c(0.4,0.1,0.5, 0.2,0.6, 0.2), nrow = 3, ncol = 2, dimnames = list(c("grassland","intertidal","saltmarsh"), c("site1","site2"))) habitats site1 site2 grassland 0.4 0.2 intertidal 0.1 0.6 saltm...
g62383
[ -0.0027305930852890015, -0.021880708634853363, 0.0011689449893310666, -0.08035533130168915, 0.0402081198990345, -0.07658755034208298, 0.05450223758816719, -0.009798523038625717, -0.011635390110313892, 0.003243078477680683, -0.009812453761696815, 0.029618069529533386, 0.019119413569569588, ...
<p>Imagine a long, horizontal, transparent acrylic tube which is marked with duct tape every 50 cm in such a way that you can distinguish 10 "sections" of the tube.</p> <p>I want to study the movements of ants in these plastic tubes, which are under four combinations of two different conditions, namely each tube has d...
g62384
[ 0.015157765708863735, -0.011199213564395905, -0.023917272686958313, -0.06374577432870865, -0.021597379818558693, 0.009710188955068588, 0.051410987973213196, -0.02250228449702263, -0.03459355607628822, 0.0007758335559628904, -0.06224391236901283, 0.010492721572518349, 0.029732177034020424, ...
<p>I have a matrix that is of the shape <code>n_samples</code> by <code>n_features</code>, where <code>n_samples</code> ~ 7000 and <code>n_features</code> ~ 800. To clarify, <code>n_features</code> are categorical labels, each representing an amino acid position.</p> <p>I'd like to know which columns have amino acid p...
g62385
[ 0.027126410976052284, -0.0040823062881827354, -0.0022509011905640364, -0.07410481572151184, 0.0933886244893074, -0.06107378751039505, -0.01283011119812727, 0.023228967562317848, -0.039404209703207016, 0.000052537554438458756, -0.02781020477414131, 0.009492666460573673, 0.05473858118057251, ...
<p>I am new to SEM. I am analyzing a dataset with five constructs and 21 indicators. I found there could be two ways to run the structural model in AMOS. One is to include all the measured indicators in the model and the other one is to use the composites imputed by AMOS. Model fit of the model with indicators was poor...
g62386
[ 0.04555743932723999, -0.003118867753073573, -0.006309642922133207, -0.06429082155227661, 0.013304874300956726, 0.05906989052891731, 0.03868110105395317, 0.03809630498290062, 0.030548252165317535, -0.00802900642156601, 0.022311070933938026, -0.064967080950737, 0.06318949908018112, 0.0090428...
<p>First let me describe the situation I'm dealing with:</p> <p>I'm looking at performance data for a software system. I have data for many versions of the software, including ongoing. For each version I have a series of values for the run-times of tests run against it, usually about 20 (of the same test). These gener...
g19427
[ 0.017994996160268784, -0.035994090139865875, -0.0224018357694149, -0.030971316620707512, -0.03758975490927696, -0.010082347318530083, 0.013152948580682278, 0.001035461900755763, -0.057255685329437256, -0.024106917902827263, 0.008707737550139427, 0.04328451678156853, 0.013815365731716156, 0...
<p>I am about to do a laboratory experiment in the scientific field of soil ecology and hydrology. Beforehand I want to make sure not to make any crucial mistakes, and therefore I would appreciate any hints and comments from your side. The main issue is how to deal with high natural variability (~25%) and a rather smal...
g37620
[ 0.0222436785697937, -0.023326728492975235, -0.005945549346506596, -0.004433321300894022, 0.010595083236694336, -0.006522220093756914, 0.04769137129187584, -0.000927886925637722, -0.07017185539007187, 0.018505319952964783, 0.006844864226877689, -0.011497589759528637, -0.01221117377281189, 0...
<p>I have the following question:</p> <blockquote> <p>In a survey, a simple random sample of 1,000 households was drawn to determine the distribution of household size in a city. Interviewers were required to visit the house to carry out the survey. Interviewers could only reach 653 households in the sample. T...
g19428
[ 0.018843689933419228, 0.004711234476417303, 0.00019871367840096354, -0.036348965018987656, 0.0057288846001029015, -0.04152853041887283, -0.012857628054916859, 0.0013967525446787477, 0.0016638742526993155, 0.011785225011408329, 0.0358523465692997, 0.02639147825539112, 0.017100613564252853, ...
<p>When comparing the direction and magnitude of the difference between the original means and the adjusted means what does the change say about the covariate?</p> <p>For example: IV = Grade, DV = Test Score, Covariate = IQ Score</p> <p>Am I correct in assuming that if a group's <strong>adjusted mean</strong> is high...
g62387
[ -0.03328550606966019, -0.050799671560525894, -0.007209525443613529, -0.05727149173617363, 0.038002919405698776, 0.01985204592347145, 0.0074646505527198315, 0.06883300095796585, -0.0185383353382349, -0.00714136054739356, -0.06191331520676613, 0.03162917122244835, 0.0261593759059906, 0.04102...
<p>I have some census data of 20 urban regions. I want to use them to combine 5 criteria to determine which region is most deprived. Is it acceptable to use factor analysis?</p>
g62388
[ 0.012058200314640999, -0.021870870143175125, 0.0034855003468692303, -0.03916618227958679, -0.013038759119808674, 0.02774231694638729, 0.014052133075892925, 0.013164417818188667, -0.002221178263425827, 0.013688856735825539, 0.024090256541967392, -0.003308439627289772, 0.050674695521593094, ...
<p>Given a function $f(\mu)$ (satisfying certain properties), it is possible to find a function $g(x)$ such that $f(\mu)=\int_{-\infty}^{\infty} g(x)\phi(x-\mu) dx $, where $\phi$ is the standard normal density. In fact, $g=\widehat{\widehat{f}/\widehat{\phi}}$, where hat denotes the Fourier transform (might be missing...
g62389
[ -0.03180340677499771, -0.008680707775056362, -0.006309088319540024, -0.10721813142299652, -0.05265726521611214, -0.03392820060253143, -0.006666562985628843, 0.0010157773504033685, -0.039527639746665955, -0.014456871896982193, -0.04067029803991318, -0.0029243826866149902, 0.02698971889913082,...
<p>Is there a rule of thumb? How much improvement in accuracy can I expect with extensive grid search? Can it be a HUGE difference?</p> <p>Does this differ with different kernels? ( linear, polynomial, RBF? )</p> <p>I am wondering whether it's something I should focus on ( I am using SVMLight so it's really hard to d...
g19430
[ 0.015130912885069847, 0.05441049486398697, -0.002832898171618581, 0.032765455543994904, -0.007897749543190002, -0.1183619275689125, 0.012665706686675549, 0.025934481993317604, -0.03238428384065628, 0.006980352569371462, 0.06447873264551163, 0.025202348828315735, 0.06088922172784805, 0.0246...
<p>I am interested in comparing a non-linear model with up to 12 parameters to many datasets. However, each instance of the model takes a significant amount of time to compute (~1 hour), so I am pre-computing instances of the model for various parameter values and then comparing these to all the different datasets.</p>...
g37661
[ 0.01646377518773079, 0.013751976191997528, -0.005974882282316685, -0.04438595846295357, -0.0662977397441864, -0.05242959037423134, 0.022114835679531097, -0.007991817779839039, -0.05441126599907875, 0.0323970727622509, 0.018971702083945274, -0.03653601184487343, 0.000060685335483867675, 0.0...
<p>I want to integrate user input into clustering algorithm. So that users can control which docs should be in the same cluster. What are some ways to achieve this? Can metric learning do this? </p>
g62390
[ 0.01262906938791275, -0.009599004872143269, -0.007622911129146814, 0.013594267889857292, 0.011403053998947144, -0.021878523752093315, 0.03343217447400093, 0.03264794871211052, -0.04714404046535492, 0.014992890879511833, 0.04021859169006348, -0.01767786033451557, 0.11399702727794647, -0.033...
<p>I'm relatively new to bayesian statistics and have been using JAGS recently to build hierarchical bayesian models on different datasets. While I'm very satisfied of the results (compared to standard glm models), I need to explain to non-statisticians what the difference with standard statistical models is. Especiall...
g19432
[ 0.019903559237718582, 0.05376758426427841, -0.012436212971806526, -0.010006532073020935, -0.018853209912776947, -0.02607608586549759, 0.052021365612745285, -0.004121614154428244, -0.06290111690759659, -0.028978582471609116, 0.00494860066100955, -0.017333684489130974, 0.04867001995444298, 0...
<p>Consider $\sum_{i=1}^N |X_i|$ where $X_1, \ldots, X_N$ are i.i.d. and the CLT holds.<br> How many of the biggest terms add up to half the total sum ?<br> For example, 10 + 9 + 8 $\approx$ (10 + 9 + 8 $\dots$ + 1) / 2: 30 % of the terms reach about half the total.</p> <p>Define<br> $ \qquad\text{sumbiggest( j}; X_...
g37614
[ 0.023852741345763206, 0.04104144498705864, -0.005725280847400427, -0.05355478823184967, 0.01250448264181614, -0.0643414855003357, 0.04578875005245209, -0.05613705888390541, 0.01950751431286335, 0.033129360526800156, -0.06658903509378433, 0.02168898843228817, 0.04907042905688286, 0.00453117...
<p>Lets assume we only have 2 variables, <code>x</code> and <code>y</code>, and our model (in R code) is <code>lm(y~x)</code>. Given that any 2 points can be used to form a line, I know it doesn't make much sense to try to fit this model if I only have 2 observations.</p> <p>What about the case where I have 3 observa...
g62391
[ 0.005130894482135773, -0.0037073339335620403, 0.00012459090794436634, 0.02140168845653534, 0.013796551153063774, 0.02678082510828972, -0.011873491108417511, 0.008864819072186947, -0.061610475182533264, -0.04519135504961014, -0.00409033102914691, 0.012378291226923466, -0.00699702138081193, ...
<p>I am comparing two power functions in R, a base function <code>stats::power.prop.test</code>, and the function <code>pwr::power.2p.test</code> in the <code>pwr</code> package.</p> <p>I would think that they would give the same answer, but they are slightly different. And the equations being solved in the source cod...
g62392
[ 0.030093135312199593, -0.05608087033033371, -0.009741667658090591, -0.002704600803554058, 0.025375766679644585, -0.03240073844790459, 0.02263643406331539, -0.004678748548030853, -0.04374631121754646, -0.015079613775014877, 0.030080532655119896, 0.046450480818748474, 0.016071293503046036, 0...
<p>I have two positively correlated variables, Q95 (independent, 95-percentile flow in cumecs from the previous summer) and LIFE (dependent, a score describing the health of some invertebrates). I would like to be able to predict, to some degree of confidence, what value of Q95 is required to attain a given LIFE. From ...
g38467
[ 0.012608516961336136, -0.029325811192393303, -0.030337246134877205, -0.03592954948544502, -0.010455569252371788, 0.002330230548977852, 0.08137624710798264, -0.00041715273982845247, -0.04892296344041824, -0.05613534897565842, -0.05105310678482056, -0.0010002169292420149, 0.06335292011499405, ...
<p>I'm currently stuck on this data, trying to figure out what test is needed. I started thinking it needed an ANOVA test but on reading, figured it was a Chi Squared test. On more reading, that doesn't seem right either.</p> <p>The data I have is in a table as such:</p> <pre><code>Damage Group 0 minutes 2 min...
g38468
[ 0.022901179268956184, -0.005445005837827921, -0.02037462405860424, -0.039380546659231186, 0.03323761001229286, -0.03069842979311943, 0.035157155245542526, -0.04971224442124367, -0.0259579848498106, 0.0032897265627980232, 0.007135800551623106, 0.023826956748962402, -0.021073969081044197, -0...
<p>I am interested in knowing whether or not there is a consensus about the optimal way to analyze hospital length of stay (LOS) data from a RCT. This is typically a very right-skewed distribution, whereby most patients are discharged within a few days to a week, but the rest of the patients have quite unpredictable (a...
g19435
[ 0.01772175170481205, 0.01964593678712845, -0.02463270165026188, -0.03082430548965931, -0.017650561407208443, -0.03894041106104851, -0.03575556352734566, 0.010332728736102581, -0.03275623917579651, 0.027642864733934402, 0.051009248942136765, -0.0015834656078368425, 0.0447244793176651, -0.01...
<p>I have started looking into robust methods of data analysis. In particular, robust regression methods for ANCOVA type models using the <em>"lmRob"</em> function from the <em>"robust"</em> library in R. I'm having a hard time finding what assumptions I need to satisfy in order to use this. I've read that they can be ...
g19436
[ -0.032988760620355606, -0.05396271124482155, -0.018357975408434868, -0.006283127702772617, -0.009719817899167538, 0.0067797936499118805, 0.06639498472213745, -0.02305283397436142, -0.04992453381419182, 0.04163358733057976, 0.008507023565471172, -0.023446066305041313, 0.03197881951928139, -...
<p>I hope this is the right place to post this, I considered posting it on skeptics, but I figure they'd just say the study was statistically wrong. I'm curious about the flip side of the question which is how to do it right.</p> <p>On the website <a href="http://quantifiedself.com/2009/10/the-false-god-of-coffee/">Qu...
g62393
[ -0.005040972027927637, 0.009131033904850483, -0.006881296634674072, -0.0246502123773098, 0.0011361310025677085, -0.06310540437698364, 0.01982313022017479, -0.00567214610055089, -0.03944510966539383, 0.015250547789037228, 0.02756269834935665, 0.019093941897153854, 0.07290191948413849, 0.007...
<p>I have done some AI projects involving inference, neural networks, etc., but I'm not sure what the right algorithm would be for this problem.</p> <ul> <li><p>Say there is a set of pills, where each type is visually unique. So, for example, a pain reliever might be a red pill and an allergy medication might be a blu...
g38155
[ 0.02180146798491478, 0.004414422903209925, -0.011182799004018307, -0.07195448875427246, -0.005562766920775175, -0.05918286740779877, -0.028186580166220665, 0.011021408252418041, -0.0269149336963892, -0.0199778750538826, -0.004416064824908972, 0.012682157568633556, 0.12573246657848358, 0.03...
<p>Could anyone advise if the following makes sense:</p> <p>I am dealing with an ordinary linear model with 4 predictors. I am in two minds whether to drop the least significant term. It's $p$-value is a little over 0.05. I have argued in favor of dropping it along these lines: Multiplying the estimate of this term by...
g19439
[ 0.02835855633020401, -0.006137483287602663, -0.003483608365058899, -0.023691043257713318, -0.0075034708715975285, -0.01535770297050476, 0.009509075433015823, 0.00008811106090433896, -0.02330225333571434, -0.011364276520907879, 0.007907534949481487, 0.008891388773918152, 0.002120807534083724,...
<p>Let's say you have a large random sample of soccer players in Europe but you are only interested in what happens in Spain. Could you reduce your sample to players in Spain and still call it a random sample (but of a different population)? If not, how would you call that subsample and which specific precautions shoul...
g19440
[ 0.00835997425019741, 0.009410588070750237, 0.010863469913601875, -0.04903261736035347, -0.01841767318546772, -0.005070472601801157, -0.0024859148543328047, 0.01875348761677742, 0.013843808323144913, -0.0025462647899985313, 0.010251856409013271, -0.016650130972266197, 0.0653354823589325, -0...
<p>If I have two (Pearson) correlation coefficients between Variables A and B (for example .657 for males and .876 for females) and I want to test if there is a difference based on gender (as in this case), which of the following phrases should I use to describe this process?</p> <ul> <li>Test for equality of the corr...
g19441
[ 0.07266870886087418, -0.0008821223163977265, 0.014225020073354244, -0.0820201188325882, 0.05233178287744522, -0.006650240626186132, 0.006095586810261011, -0.03354509919881821, -0.014362724497914314, 0.0019335061078891158, 0.00038208329351618886, 0.03407760336995125, 0.021692220121622086, -...
<p>I have a univariate time series which is an index of susceptibility to failure, and a binary variable which indicates whether a failure actually occurred in a given time window or not. I want to carry out a statistical test that would quantify the performance of the susceptibility index (e.g., compared to a null mod...
g62394
[ -0.018284467980265617, 0.026336776092648506, -0.00019890871772076935, -0.010672086849808693, -0.031655821949243546, -0.012188761495053768, 0.047437094151973724, 0.0073814052157104015, 0.0204148069024086, -0.0038762257900089025, 0.03204193338751793, 0.049512360244989395, 0.04608287289738655, ...
<p>In a paper I've written I model the random variables $X+Y$ and $X-Y$ rather than $X$ and $Y$ to effectively remove the problems that arise when $X$ and $Y$ are highly correlated and have equal variance (as they are in my application). The referees want me to give a reference. I could easily prove it, but being an ap...
g62395
[ 0.014461183920502663, -0.0065292553044855595, -0.006165581755340099, -0.07256601005792618, -0.023327894508838654, -0.03301652893424034, 0.019987378269433975, 0.01456344686448574, 0.025504160672426224, 0.04190078005194664, -0.011372918263077736, -0.01582188531756401, 0.016857052221894264, 0...
<p>Can anybody explain in detail:</p> <ol> <li>What does reject inferencing mean?</li> <li>How can it be used to increase accuracy of my model?</li> </ol> <p>I do have idea of reject inferencing in credit card application but struggling with the thought of using it to increase the accuracy of my model.</p>
g62396
[ 0.04019295424222946, -0.038486894220113754, 0.0038382471539080143, -0.061189204454422, 0.024344569072127342, 0.025795137509703636, 0.014413389377295971, 0.0881008580327034, -0.04834863170981407, -0.014735624194145203, -0.048390746116638184, -0.0030416185036301613, 0.08644051104784012, 0.02...
<p>I have learnt that using <code>vif()</code> method of <code>car</code> package, we can compute the degree of multicollinearity of inputs in a model. From <a href="http://en.wikipedia.org/wiki/Variance_inflation_factor">wikipedia</a>, if the <code>vif</code> value is greater than <code>5</code> then we can consider t...
g62397
[ 0.05043502524495125, -0.029075587168335915, 0.010563483461737633, -0.004060111474245787, 0.06192810833454132, -0.03178468346595764, 0.019315339624881744, 0.023960048332810402, -0.024531446397304535, 0.03755186125636101, -0.02689596638083458, -0.009581412188708782, 0.0204257071018219, 0.052...
<p>I just found out how to run a R script from the R Console under Windows. </p> <pre><code>source("arrrFile.R") </code></pre> <p>The problem is, this command runs "silently". How can I run the file command-by-command as I would type it in the console? </p>
g39705
[ 0.018247278407216072, -0.030091194435954094, -0.013994017615914345, -0.016234682872891426, -0.006867659743875265, -0.059613656252622604, 0.015242462046444416, 0.004311623517423868, -0.07788604497909546, -0.0491911843419075, -0.035814039409160614, 0.022810474038124084, 0.04997032880783081, ...
<p>when integrating a function or in complex simulations, I have seen the Monte Carlo method is widely used. I'm asking myself why one doesn't generate a grid of points to integrate a function instead of drawing random points. Wouldn't that bring more exact results?</p>
g62398
[ 0.03864355757832527, 0.06369231641292572, -0.003520915051922202, -0.06595562398433685, 0.00006852141086710617, -0.029729099944233894, 0.041537124663591385, 0.005284558515995741, -0.014242587611079216, -0.02547786943614483, -0.019384989514946938, -0.013698033057153225, 0.09666424989700317, ...
<p>Is it important to scale all the features into a common range (normalized) when using random forests (bagging) in classification. Or can random forests handle features in different ranges without problems (bias to the larger values). Some features may have a value in the 1000-range and others in the 0-1 range. </p>
g62399
[ -0.041126757860183716, 0.027817049995064735, 0.015552005730569363, -0.017722435295581818, -0.0009116256260313094, 0.0053675915114581585, -0.021047385409474373, 0.03610298037528992, -0.04453946650028229, 0.01934647373855114, 0.006325027905404568, -0.02778187394142151, 0.04380595311522484, 0...
<p><strong>EDIT:</strong> <em>OK, having spent the last couple of hours checking out some pubs on functional data analysis, I am actually starting to feel a little silly having asked the question in the first place! It's becoming obvious (well. Still a tad -ish but getting there.) - Thanks, @PeterFlom for pointing it o...
g62400
[ -0.004031113814562559, -0.0297183059155941, -0.004456759430468082, -0.04888943210244179, -0.03054479882121086, -0.056074902415275574, 0.008717268705368042, 0.004497956950217485, -0.005996660329401493, -0.02573339454829693, -0.014392165467143059, 0.06028508394956589, -0.006318401545286179, ...
<p>Is there a way to return a matrix of means for levels of a factor using <code>effect()</code> in R? I see if you simply call an effect object you get the values printed, but I would like a matrix of these values that can be operated on. You can do this for the lower and upper confidence intervals like this:</p> <pr...
g62401
[ -0.004965499043464661, -0.020401999354362488, -0.032087139785289764, -0.053813397884368896, 0.016802998259663582, -0.009573332034051418, 0.013093255460262299, -0.0006274170591495931, -0.038155537098646164, -0.058833055198192596, -0.011953078210353851, 0.05608060956001282, 0.01610922068357467...
<p>Imagine the following scenario: You have an urn with $r$ red balls and $b$ blue balls. The red balls have two hooks, the blue balls have one hook. Consequently, if $r=1$ and $b=1$, you would be twice as likely to fish a red ball rather than a blue ball. </p> <p>What is the expected fraction of blue balls that you f...
g62402
[ 0.009801912121474743, 0.03574538230895996, -0.0042644343338906765, -0.061191119253635406, 0.015430785715579987, -0.033499982208013535, 0.03608459606766701, -0.0015410220948979259, -0.01481679454445839, -0.05155211687088013, -0.047354746609926224, 0.037777531892061234, 0.048477932810783386, ...
<p>Given a joint pdf for 3 random variables (X1, X2, X3) I´ve applied a transformation (Y1, Y2, Y3) and found the joint pdf for the transformed variables. This joint pdf´s domain is 0 &lt; Y1 &lt; Y2 &lt; Y3 &lt; 1. The thing is, I can´t marginalize out enough variables in order to find the marginal pdf for each of the...
g16172
[ 0.030171379446983337, -0.043178606778383255, -0.012581356801092625, -0.08387257158756256, -0.03709981217980385, 0.012477770447731018, 0.006750837434083223, 0.03472450375556946, -0.04969082772731781, -0.012306948192417622, 0.026936903595924377, 0.019580349326133728, -0.0166064091026783, -0....
<p>I've been taught that binning a continuous variable into categories is almost never a good idea, because you lose information in the process. But now I'm facing a situation where I have an age variable that is "mostly continuous", which is to say that about 90% of the values represent age in years, and the remaining...
g37646
[ 0.005419868044555187, -0.027607886120676994, -0.008524686098098755, -0.07849960774183273, 0.0010605021379888058, -0.02134956419467926, 0.025395510718226433, 0.023596862331032753, -0.03617148473858833, -0.0414096862077713, 0.03958792984485626, -0.0372270904481411, 0.02520938776433468, -0.02...
<p><img src="http://i.stack.imgur.com/rmT9d.png" alt="enter image description here"></p> <p>(a)how can be r/(n+1)? in my lecture notes, Dist. of r-th order statistics is <img src="http://i.stack.imgur.com/sYgFi.png" alt="enter image description here"></p> <p>but i can't figure out how to come out (a) from this equati...
g62403
[ -0.003052309388294816, -0.03326331079006195, -0.022158034145832062, -0.03792192041873932, 0.006642556749284267, -0.048988256603479385, 0.01543419249355793, 0.042099662125110626, -0.04135860130190849, -0.022667257115244865, -0.0017421162920072675, 0.0040441895835101604, 0.055025748908519745, ...
<p>I have a sequence of Bayesian Networks for del with more epochs. For example if i work with trafic on street I can have a BN for morning, one for afternoon e one for evening.</p> <p>If i collect data for 24h, when end the morning and start the afternoon ? when end the afternoon and start the evening? when end the e...
g62404
[ 0.014409619383513927, -0.00362068647518754, -0.006311845500022173, -0.03611558675765991, 0.0059455567970871925, -0.018223391845822334, 0.044568371027708054, 0.012081632390618324, -0.04966440051794052, 0.025686515495181084, -0.04337827488780022, 0.011868822388350964, 0.06481920927762985, 0....
<p>Could you help me prove that For N(θ,1) density, Rao's Score Test is equivalent to UMPU test?</p>
g19448
[ 0.017375599592924118, 0.018329082056879997, 0.007963714189827442, 0.009592466056346893, 0.010670745745301247, -0.005151024553924799, 0.017111079767346382, 0.033011987805366516, 0.009203917346894741, 0.012443402782082558, -0.008815718814730644, 0.018545426428318024, -0.010250713676214218, 0...
<p>If I understand correctly in order to calculate a centroid in PCA I can calculate the mean of X points and Y points (e.g., PC1 and PC2).</p> <p>When I run a simple PCA (code below) I don’t get the centroid of each group (species). Unfortunately, I do not know how to continue from this point as I am new in R. Theref...
g62405
[ -0.0007575158379040658, -0.025267206132411957, -0.009666425175964832, -0.02416260913014412, 0.0062967692501842976, -0.009731926023960114, 0.045398611575365067, -0.004934207536280155, -0.07962705940008163, -0.007035262417048216, 0.027201641350984573, 0.07345002889633179, 0.00407214043661952, ...
<p>This question is similar to</p> <p><a href="https://stats.stackexchange.com/questions/54498/does-every-log-linear-model-have-a-perfectly-equivalent-logistic-regression">Does every log-linear model have a perfectly equivalent logistic regression?</a></p> <p>but my problem is understanding the proof.Every proof is v...
g62406
[ 0.025335073471069336, -0.05320142209529877, 0.0118185980245471, -0.02114039659500122, 0.06367521733045578, -0.07557108998298645, -0.0034773957449942827, 0.04230661317706108, -0.0474054254591465, -0.024413732811808586, -0.06281968951225281, 0.0014227108331397176, -0.00020519316603895277, -0...
<p>I'm trying to work around the randomForest package limit of 32 levels for factors. </p> <p>I have a data set with 100 factors in one of the variables. </p> <p>I wrote the following code to see what things would look like using sampling WITH replacement and how many tries it would take to get certain % of factors...
g19452
[ 0.003285287879407406, -0.03504855930805206, 0.02211271971464157, -0.079884372651577, -0.03687318414449692, -0.06671939045190811, 0.0221390500664711, -0.012150555849075317, -0.004566832445561886, -0.01833931729197502, 0.01096427533775568, 0.017693184316158295, -0.00138746143784374, 0.022876...
<p>Any help would be greatly appreciated.</p>
g62407
[ 0.015470760874450207, 0.05660998821258545, 0.03034539707005024, 0.00297556328587234, 0.033933449536561966, -0.029506126418709755, -0.0509759858250618, 0.043503288179636, -0.03838307410478592, 0.0361345000565052, -0.05009769648313522, 0.017939399927854538, -0.04189041256904602, -0.007159425...
<p><strong>Comment:</strong> heavily edited, both to clarify and to fix a mistake. First 7 comments below refer to the previous version.</p> <p>I have an experiment where 3 raters go over the same data 2 times each, trying to make a diagnosis. The second of these two passes serves as the gold standard, and I want to c...
g38500
[ 0.010310098528862, -0.02513096109032631, -0.009260578081011772, -0.01638338528573513, 0.010439242236316204, -0.02670958638191223, -0.024666249752044678, -0.022831570357084274, -0.0504053570330143, 0.006724595092236996, 0.02508360892534256, 0.009168853051960468, -0.011626798659563065, 0.001...
<p>This may be an elementary question which is why I have not been able to find it on Stackexchange or Mathoverflow however I am having problems with the arithmetic involved in updating likelihoods using Bayes theorem for a problem I am working on.</p> <p><strong>Background:</strong> </p> <p>I am attempting to give l...
g62408
[ 0.006178113631904125, 0.012872762978076935, 0.004479237366467714, 0.0007726409821771085, -0.07286413013935089, 0.016787251457571983, 0.011611495167016983, -0.000979150179773569, -0.044681936502456665, 0.018274225294589996, 0.009488063864409924, 0.03651418164372444, 0.036372166126966476, 0....
<p>I have located references that indicate that a 1-sided confidence band is equivalent to the 95% 2-sided confidence band on a linear regression. Does this equivalence hold true for prediction intervals over a linear regression model?</p> <p>Example: Given a set of data with a random sampling of age vs strength valu...
g597
[ -0.01071479544043541, -0.05313487350940704, -0.018468355759978294, -0.04784125089645386, -0.0551346130669117, 0.024238640442490578, 0.013331248424947262, -0.004957190249115229, -0.03423694893717766, -0.05361365154385567, 0.025792455300688744, 0.0246355589479208, 0.01526942290365696, 0.0067...
<p>I want to perform a number of univariate regressions with different symptoms (e.g. fever, cough, sneezing) as the response variable and one categorical variable (which is always the same each time) as an explanatory variable - age group (0-4, 5-14, 15-64, 65+). In total there are 18 symptoms so hence, I want to do 1...
g62409
[ -0.03052154928445816, -0.039942268282175064, -0.02163843624293804, -0.026795361191034317, -0.011483309790492058, -0.016878580674529076, -0.0008679518359713256, 0.05815707519650459, -0.033077534288167953, -0.005018780007958412, 0.0016583445249125361, -0.003913186490535736, 0.02489819377660751...
<p>Say I want to do a logistic regression on whether it snows on a given month of the year and day of the week. I'd have 12 months and 7 days. My understanding is that this would translate into 17 dummies (11 for months and 6 for days). </p> <p>First off is this correct? Second, how would I interpret regression re...
g19458
[ 0.006589578930288553, 0.021344134584069252, 0.0020407522097229958, -0.034106750041246414, 0.02376391552388668, -0.015517608262598515, 0.04355934262275696, -0.000030051000067032874, -0.003958701156079769, -0.06651551276445389, -0.012527480721473694, -0.03074335865676403, 0.11333571374416351, ...
<p>If I am correct, the linear regression model is said to be a model where the response is linear in the parameters. That allows the response to be nonlinear in the predictor variables.</p> <p>I was wondering if there is a name for the model where the response is linear in both the parameters and in the predictor var...
g49491
[ 0.05294400453567505, -0.06880298256874084, 0.00856809876859188, 0.0006900372682139277, 0.012671967037022114, 0.002279242966324091, 0.015038388781249523, 0.035892635583877563, -0.0006949786911718547, -0.0307750403881073, 0.017378801479935646, -0.013775093480944633, 0.04180636256933212, -0.0...
<p>Please excuse me if my question is dumb but I am not a Statistics student. I have a project where I was exploring options for time series analysis where I found some papers on cointegration. I have 4 variables. One of them response variable. I wanted to to the forecasting using the cointegration technique....
g38506
[ 0.040038276463747025, -0.018591810017824173, 0.00936445128172636, -0.04469027370214462, 0.012612462975084782, -0.006775263696908951, 0.05164625495672226, 0.025766203179955482, -0.030914435163140297, 0.013287631794810295, -0.02048668824136257, 0.032696086913347244, 0.010235949419438839, -0....
<p>I fitted a linear mixed model with R as follows.</p> <pre><code>lmme3cs = lme(LAZ ~ group_k + x1 + x2 + x4 + x6 + x1_k + x2_k + x4_k + x6_k, random = ~1|SECTORID/CHILDUID, correlation = corCompSymm(form = ~1|SECTORID/CHILDUID),data=dat2c) </code></pre> <p>It has 50043 observations, but the object 'lmme3cs$...
g62410
[ 0.02653433196246624, -0.0642145425081253, -0.019536525011062622, -0.07899317890405655, 0.05304432660341263, 0.008120299316942692, 0.029674820601940155, -0.03304644301533699, -0.031316496431827545, -0.04577838256955147, -0.024482736364006996, 0.025896932929754257, 0.011688180267810822, -0.0...
<p>I am doing a lexical study, identifying personality factor structure of the Malay language adjectives.</p> <p>I have three datasets: 1) The Malay adjective checklist 2) The Big-Five Mini Marker scale 3) The 60 items HEXACO PI</p> <p>I have 589 respondents who attempted all three checklist and inventories</p> <p>M...
g19466
[ -0.008629883639514446, -0.06683845818042755, 0.014087671414017677, -0.0708020031452179, -0.006246514152735472, -0.009281464852392673, 0.02497120201587677, 0.04476611316204071, -0.023838723078370094, 0.017114434391260147, 0.0182489100843668, -0.05617590993642807, 0.01225053146481514, -0.035...
<p>Could someone maybe give an explanation and formulas in terms of sums or matrix operations for the calculation of variance based effects, and total effect indices?</p> <p>The information given on wikipedia: <a href="http://en.wikipedia.org/wiki/Variance-based_sensitivity_analysis" rel="nofollow">http://en.wikipedia...
g19467
[ -0.012490403838455677, -0.020889509469270706, -0.03386133536696434, -0.011386235244572163, 0.023386964574456215, -0.04619404301047325, 0.07428634911775589, 0.030571041628718376, -0.02531089074909687, -0.0005180684383958578, -0.0583895780146122, 0.0557633638381958, -0.00003542755439411849, ...
<p>I am doing a project in which I need to estimate Weibull parameters for car part failures (I know the data follow Weibull). I have data for 1000 cars (part failure data). Now the problem is suppose some part fails after 6 years (from date of manufacturing) . But I have data for only the first three years. Now in thr...
g62411
[ 0.01922290213406086, -0.03034762106835842, -0.004490566905587912, -0.005821068771183491, -0.04349260777235031, 0.011110625229775906, 0.003558775410056114, -0.008945697918534279, -0.05502510443329811, 0.04387158900499344, -0.03416723385453224, 0.04318806529045105, 0.04723621532320976, 0.049...
<p>We are making algorithm for prediction of Conversion Rate (CR) for CPC advertising.</p> <p>We have historical (statistical) data that we can analyze in many projections (in many factors).</p> <p>For example we have such independent variables (factors, projections) as: </p> <ol> <li>keyword</li> <li>date</li> <li...
g62412
[ -0.01905597373843193, 0.07028118520975113, -0.007552979048341513, -0.04542313143610954, 0.014592315070331097, -0.073180191218853, 0.06293342262506485, 0.019139470532536507, -0.023807961493730545, 0.034344084560871124, 0.012971269898116589, 0.03077245131134987, 0.01862495206296444, 0.029009...
<p>I am currently in the process of trying to work out a ranking system for players using a dataset of players within the English Premier League. I have a number of statistics to work with but have decided that the following are the ones I want to use: </p> <ul> <li>Minutes</li> <li>Pass %</li> <li>Goals</li> <li>Sho...
g19469
[ -0.04126152768731117, 0.009092580527067184, -0.025589101016521454, -0.058211155235767365, -0.0026568842586129904, -0.02571692503988743, -0.018047694116830826, -0.0035069421865046024, -0.046355266124010086, -0.030011871829628944, 0.0045148106291890144, -0.032682549208402634, 0.051145173609256...
<p>I have this problem and I'd like some pointers to a "standard" method of solving this issue.</p> <p>I have two time series, with points taken at the same time for each one of them; series A is a poll, of which I know the sample size (and therefore its variance); series B can't be defined with precision: it's a numb...
g62413
[ 0.06475742906332016, -0.02020099200308323, -0.006612326018512249, -0.03118668682873249, -0.012339260429143906, -0.008510290645062923, -0.012819657102227211, -0.021677302196621895, -0.014066094532608986, 0.01056339219212532, 0.03641830012202263, 0.05996217578649521, 0.02625417709350586, -0....
<p>I have two different set of features for which I have a SVM classifier and a Naive Bayes classifier, respectively. If I wanted to combine these two classifiers to get a better prediction, what option do I have?</p>
g62414
[ 0.03390306979417801, -0.030722441151738167, 0.03965167701244354, 0.0628824383020401, 0.023846600204706192, -0.044544972479343414, -0.03899785503745079, 0.0024683705996721983, -0.0283811055123806, -0.06613221019506454, 0.030173609033226967, 0.032741278409957886, 0.09156500548124313, 0.08388...
<p>I'd like to use Bayesian updating to form price expectations to be used in another model. I'm very new to this area, so your help would be highly appreciated. </p> <p>I'm not sure which distribution to use for the prior. When I use normal distribution, I do not get much variability between prior and posterior. Howe...
g19471
[ -0.009054279886186123, -0.02175617590546608, 0.0013077884213998914, -0.0388738177716732, -0.027432629838585854, 0.014557572081685066, -0.053889837116003036, -0.01457915734499693, -0.03505799546837807, -0.020788095891475677, 0.026701148599386215, 0.036412037909030914, 0.05287490785121918, 0...
<p>I'm trying to figure out why there is a difference when I run <code>anova(model1, model2)</code> versus <code>anova(model2, model1)</code> in R. I know which model is nested within the other, but haven't been able to find in the documentation what the difference in syntax is actually doing.</p> <p>In fact, this is ...
g19473
[ -0.000694868853315711, -0.05292532220482826, 0.0021331014577299356, 0.04362316429615021, 0.05341292917728424, -0.034661926329135895, 0.03486327826976776, 0.015808362513780594, -0.03750333935022354, -0.01253095269203186, -0.053599175065755844, 0.02017037756741047, 0.023360170423984528, 0.03...
<p>I am hoping someone can help with the following: </p> <ol> <li><p>I have been trying to use the ltm package in R to get person fit estimates using a 3PL model. The problem I have been having is that I start off with 4947 response patterns (dichotomous) but when I run <code>tpm()</code> I end up with 4851 ability ...
g34449
[ 0.031398821622133255, -0.07075881212949753, -0.007714638486504555, -0.06988000869750977, 0.007626976352185011, 0.02544460818171501, 0.0281477440148592, 0.012300925329327583, -0.04198126494884491, -0.0014283949276432395, -0.019865036010742188, -0.02403145469725132, -0.001230406342074275, -0...
<p>It's clear for me to count correlation and regression between two variables, e.g. X and Y. Assume, that X is a fuel consumption and Y is engine displacement. I've got a data set with 100 pairs X Y, and based on those I can calculate a correlation rate between X and Y which in this case is obvious. So I'm trying to f...
g19477
[ 0.017717862501740456, -0.043037060648202896, -0.012481366284191608, -0.030276324599981308, 0.013558431528508663, -0.02357899397611618, 0.015172542072832584, 0.04588755592703819, -0.05085082724690437, -0.044133394956588745, 0.036510106176137924, -0.01392222847789526, -0.0018460098654031754, ...
<p>I have a data that looks like this</p> <pre><code> City Sex Rater drink response 1 NY M 1 coke 77 2 NY M 2 coke 72 3 NY F 3 coke 78 ... </code></pre> <p>There are 3 different cities and 3 different types of drinks, and n=48.</p> <p>How should I do ANOVA on...
g19480
[ -0.004643548280000687, -0.034126512706279755, -0.000617848476395011, -0.06718534231185913, 0.03028743341565132, -0.03194534406065941, 0.027104996144771576, -0.00231705280020833, -0.06716235727071762, 0.015347680076956749, -0.00032486882992088795, 0.00878753513097763, 0.03857232257723808, 0...
<p>I am trying to estimate covariance components from PROC MIXED and having trouble with convergence problems in the REML approach when I use the NOBOUNDS option. Let me explain why I am using NOBOUNDS in case this is the problem.</p> <p>I am trying to estimate genetic covariances among 12 traits in a group of self-fe...
g19483
[ 0.029999174177646637, -0.05145378038287163, 0.020635707303881645, -0.03261226415634155, 0.0029407087713479996, 0.03647255152463913, 0.06527281552553177, -0.0025455907452851534, -0.06906627118587494, 0.007766480557620525, 0.009045088663697243, -0.00580492103472352, -0.028996504843235016, 0....
<p>The question I want to ask is this: how does the proportion of samples within 1 SD of the mean of a normal distribution vary as the number of variates increases?</p> <p>(Almost) everyone knows that in a 1 dimensional normal distribution, 68% of samples can be found within 1 standard deviation of the mean. What abou...
g19484
[ -0.00798052828758955, -0.003362267278134823, -0.012331540696322918, -0.06032855063676834, -0.05574512854218483, -0.03597516193985939, 0.02896178513765335, -0.029853880405426025, -0.04643343389034271, -0.027942754328250885, 0.04081817343831062, 0.013113049790263176, 0.028327109292149544, 0....
<p>I have a set of positive and negative samples in 2D $(x, y)$, and I would like to fit a curve $f$ to this data set so that $f(x, y_c)$ is increasing in $x$ and $f(x_c, y)$ is increasing in $y$. The function $f(x, y)$ can be thought of as the probability that a new random sample from point $(x, y)$ is positive. The f...
g62415
[ 0.042626168578863144, -0.027628129348158836, 0.004103624261915684, -0.03132421895861626, -0.0354444682598114, -0.0339791513979435, -0.007241071667522192, -0.03257972002029419, -0.04731209576129913, 0.014542083255946636, 0.030377110466361046, 0.0025003808550536633, 0.078667052090168, -0.026...
<p>I am implementing Newey West covariance matrix in code and wanted to know if anybody knows the matrix definitions and how the lags matrix is defined.</p> <p>I not sure how to type equations here but the formula I am looking at is on page 53 Chac in this link <a href="http://math.uncc.edu/~zcai/KSU-reading-II.pdf" r...
g46090
[ 0.024666782468557358, -0.047883372753858566, -0.04213817045092583, -0.03429187834262848, 0.0361657440662384, -0.029693007469177246, 0.07983962446451187, -0.002172882203012705, -0.04786853864789009, 0.05664324015378952, 0.01377820409834385, 0.022767871618270874, 0.04369201138615608, 0.05062...
<p>In case of robust estimators, What does <strong>Gaussian efficiency</strong> means? For example $Q_{_n}$ has 82% Gaussian efficiency and 50% breakdown point.</p> <p>The reference is: Rousseeuw P.J., and Croux, C. (1993). “Alternatives to median absolute deviation.” J. American Statistical Assoc., 88, 1273-1283</p>
g62416
[ -0.022652138024568558, -0.04806961864233017, -0.015528111718595028, -0.005238470621407032, -0.054671015590429306, -0.007694208528846502, 0.010485301725566387, 0.00516848498955369, 0.011096400208771229, 0.007852106355130672, -0.009607463143765926, -0.006803618278354406, 0.058830320835113525, ...
<p>I want to do a regression where my dependent variable has four categories <code>(1,2,3,4)</code> which represents the number of dependents. Can I do this with logistic regression? I read somewhere that <code>link=glogit</code> option is useful in this, can somebody please shed some light? I am new to this.</p> <p>W...
g62417
[ -0.053965650498867035, 0.02952779084444046, -0.015444967895746231, -0.06984850764274597, 0.010602140799164772, -0.04619656875729561, 0.002172166481614113, -0.02406594343483448, -0.07344222813844681, -0.04615262150764465, -0.018823985010385513, 0.01565159112215042, 0.029188696295022964, -0....
<p>Suppose I have a large population of data points $(x,y)$ and that the Pearson's correlation is </p> <p>$$\textrm{corr}(X,Y) = \rho$$</p> <p>What can I reasonably say about the correlation I expect to observe in a sample of size $n$? If the sample correlation is $\rho_s$, roughly what is the spread is $\rho_s$? I...
g19492
[ 0.020164761692285538, -0.013919265009462833, -0.009337447583675385, -0.05235234647989273, 0.011505519039928913, -0.014221576042473316, 0.03425229713320732, 0.02607039362192154, 0.009013015776872635, -0.04284646734595299, -0.006876887287944555, 0.04468280449509621, 0.0017186483601108193, 0....
<p><strong>Proposed Method:</strong></p> <p>Given a time series $x_i$, I want to compute a weighted moving average with an averaging window of $N$ points, where the weightings favour more recent values over older values.</p> <p>In choosing the weights, I am using the familiar fact that a geometric series converges to...
g62418
[ 0.001281528384424746, -0.008360575884580612, -0.022815722972154617, 0.011469895020127296, -0.007216524798423052, 0.0015499412547796965, 0.07217879593372345, 0.013975792564451694, -0.062188051640987396, 0.0746418684720993, -0.01294775027781725, 0.022794924676418304, 0.08121422678232193, 0.0...
<p>Can you recommend a text mining package in R that can be used against large volumes of data?<br> Secondly, is there a GUI available for any of the text mining packages in R?<br> Thirdly, is there another open source text mining program that is easy and intuitive to use?</p>
g62419
[ 0.05044681578874588, -0.00563018349930644, -0.01336565613746643, 0.01650417223572731, -0.05880464240908623, -0.06992281973361969, -0.026090797036886215, -0.0064886026084423065, -0.026481354609131813, -0.008272377774119377, 0.036758679896593094, -0.023662371560931206, 0.0077613904140889645, ...
<p>With respect to a classification problem, I once heard the following comment:</p> <p>Adding more positive training cases can increase the recall; and adding more negative training cases can increase the precision.</p> <p>Is this comment correct? And what is the underlying logic if it is correct?</p>
g62420
[ 0.01658461056649685, 0.03936575725674629, 0.026548102498054504, 0.005617172457277775, 0.03956121206283569, -0.0149700827896595, 0.038138967007398605, 0.016222354024648666, -0.01512435358017683, -0.02298438735306263, -0.024314505979418755, 0.005022781901061535, 0.04158952459692955, 0.013465...
<p>Wooldridge (Intro Econometric book) he states that seasonal dummy variables (say a dummy for the calendar month) satisfy the strict exogeneity assumption because "they follow a deterministic pattern. For example, the months do not change based upon whether the explanatory variables or the dependent variable changes ...
g62421
[ 0.04362420365214348, 0.012738368473947048, -0.0013295873068273067, -0.043187808245420456, -0.009768773801624775, 0.04474584013223648, 0.07848457247018814, -0.025760585442185402, 0.00299066212028265, -0.04279636964201927, -0.03525549918413162, 0.026711737737059593, 0.07038852572441101, 0.04...
<p>I have completed Factor Analysis using Varimax rotation model as shown below. I need to be able to interpret/explain the below findings using factor loading with an absolute value of 0.40 or greater. Can somebody help me explain the below findings?</p> <pre><code>Component Initial Eigenvalues Rotation Sums of Squ...
g62422
[ 0.001215387019328773, -0.013834897428750992, 0.007724731229245663, -0.09392805397510529, 0.03066813014447689, -0.00889244768768549, 0.11501511931419373, -0.03132479637861252, -0.010211218148469925, 0.03894897550344467, -0.03313954547047615, 0.043788183480501175, 0.05081493407487869, -0.034...
<p>In their great book "Wavelet methods for time series analysis" (2006), Percival &amp; Walden state on p. 83 that the first-round pyramid algorithm scaling filter coefficients</p> <p>$\tilde{V}_{i,t}$</p> <p>can be approximated by</p> <p>$\frac{1}{N} \sum_{k=-\frac{N}{4}+1}^{\frac{N}{4}}{\chi_{k}e^{i 2 \pi t k/N}}...
g62423
[ -0.04157973453402519, 0.02992263063788414, -0.028179090470075607, -0.004998506512492895, 0.0404953733086586, -0.00835854560136795, 0.07217716425657272, -0.024196702986955643, -0.06755906343460083, 0.03320734202861786, -0.03473915159702301, 0.042590413242578506, 0.017203297466039658, 0.0206...
<p>How should I define a model formula in R, when one (or more) exact linear restrictions binding the coefficients is available. As an example, say that you know that b1 = 2*b0 in a simple linear regression model. </p> <p>Thank you!</p>
g38533
[ -0.016723383218050003, -0.010284463874995708, 0.0015385481528937817, 0.028068777173757553, 0.03306102007627487, -0.013098333962261677, 0.015260945074260235, -0.0003492297255434096, -0.0303347110748291, -0.01012495718896389, -0.08082349598407745, 0.0351741723716259, 0.03010864183306694, 0.0...
<p>A physics application I'm using reports for a first order fit of the three points below as $11.388612x - 301.878$.</p> <pre><code> x, y 35, 0 430, 4861 656, 7000 </code></pre> <p>It also shows a field labeled: "RMS: 329.499" </p> <p>How is that RMS calculated? I tried RMSD as defined <a href="http:/...
g19504
[ 0.06428877264261246, -0.04654678329825401, -0.012975483201444149, -0.06296849995851517, 0.022157521918416023, -0.01527463085949421, 0.040788449347019196, 0.005839337594807148, -0.014780612662434578, -0.054960694164037704, 0.0008863533148542047, 0.025730939581990242, 0.030870346352458, -0.0...
<p>I built a fixed effects model using time series cross sectional data. The model was built using PROC MIXED in SAS. There are 2 effect coded attributes in the model and inteactions. One dummy variable has 12 levels ($MO$), the other has 16 levels ($MSA$). My question has to do with interpreting and graphing the int...
g62424
[ 0.005720007698982954, -0.051135096698999405, -0.006698633078485727, -0.03785542771220207, 0.05154668167233467, -0.00901864841580391, 0.04184160381555557, 0.002749080304056406, -0.04140302538871765, 0.0033627122174948454, -0.022698506712913513, 0.06146535649895668, 0.024510027840733528, -0....
<p>I am going to teach undergraduate laboratory exercises for linear regression models in either Matlab or R.</p> <p>Is there any book that is not emphasizing a lot in theory but focuses mostly in applications and in examples with any of the above languages?</p> <p>I want to thank you all for your insights and for ti...
g19505
[ 0.0380825512111187, -0.04716138169169426, 0.017354100942611694, -0.012095272541046143, -0.0018729958683252335, -0.033737532794475555, 0.016043350100517273, 0.0023004068061709404, -0.017709283158183098, -0.004151879344135523, 0.0016154106706380844, 0.017918704077601433, 0.022433873265981674, ...
<p>Suppose I have data that are generated like this:</p> <ol> <li>An argument $i$ comes to $c_i \in \mathbb{N}_0$ conclusions, where $i \in N,|N|=n$.</li> <li>A respondent assigns $f_{ij} \in \mathbb{N}_0$ fallacies to conclusion $j$ of argument $i$.</li> <li>I divide the total number of fallacies by the number of con...
g19506
[ 0.04858476296067238, -0.012239244766533375, -0.0127157187089324, -0.0933518335223198, -0.022218434140086174, 0.01230630837380886, -0.023279279470443726, 0.0042593153193593025, -0.03302345424890518, -0.04924079775810242, 0.020949598401784897, -0.013711166568100452, -0.010926197282969952, -0...
<p>The classical case for Multi-Level Models are data domains where each 'individual' belongs to some group, like pupils to school classes. In such a case, the individuals are distributed into disjoint buckets like this:</p> <pre><code>--------------------------------------------- | Class1 | Class2 | Class3 | C...
g62425
[ -0.06108943745493889, -0.0036817598156630993, -0.011646364815533161, -0.04418458044528961, 0.0016475948505103588, 0.0070840721018612385, 0.023249434307217598, -0.005273809190839529, -0.03510526195168495, -0.007510026451200247, -0.03947989270091057, 0.008395902812480927, 0.08119747042655945, ...
<p>Answers to a questionnaire - Frequency of activity X</p> <ul> <li>1 - 5</li> <li>6 - 10 </li> <li>10 - 20</li> <li>20 or more</li> </ul> <p>I have two questions regarding these answers:</p> <ul> <li>Uneven bins, the answer 10 to 20 has twice the number of numerical answers, if you were to analyse this data after ...
g19508
[ -0.028495704755187035, 0.03756483644247055, -0.0010723964078351855, -0.05635252222418785, 0.0017415214097127318, -0.027435651049017906, 0.0873669907450676, 0.00887429527938366, -0.01943969912827015, -0.027402207255363464, -0.025954198092222214, 0.034144092351198196, 0.028475355356931686, 0...
<p>Say I have <strong>two different datasets</strong> with a few hundred cases and 100 predictors each. The dependent variable in both dataset is the class (nominal) to which a case belongs, but in the first dataset, there are 15 such classes, whereas the second dataset only has 10 different classes. In principle, howe...
g62426
[ 0.026682060211896896, -0.06886205822229385, 0.006247877608984709, -0.0013063906226307154, 0.005728940945118666, -0.029431667178869247, -0.019411301240324974, 0.03343843296170235, -0.015170380473136902, 0.012472766451537609, 0.06337710469961166, -0.00416789622977376, 0.056939687579870224, 0...
<p>I have this model: </p> <p>$$4F + 4.8N = a + bM +cP + dH$$</p> <p>where $F$, $N$, $M$, $P$, $H$ are variables measured on a 7-point Likert's type scale and $b, c, d$, are coefficients and $a$ is a constant. I am using SPSS.</p> <p>My question: $F$ and $N$ are both measured with 5 items. What formula do I use to ...
g19511
[ 0.013679380528628826, -0.023942213505506516, -0.015548636205494404, -0.03990476205945015, 0.04378057271242142, -0.05300537124276161, 0.02332998439669609, 0.0015544416382908821, -0.04094364494085312, -0.014903202652931213, -0.07440915703773499, 0.049707986414432526, 0.028063587844371796, 0....
<p>I'm having some troubles with the implementation in pyMC of my probabilistic model.</p> <p><strong>Note: you can skip directly to the code section, if you're not interested on the use of the model.</strong></p> <p>The model itself is going to be used to extrapolate information about different the style of a 3D mod...
g36455
[ -0.015943560749292374, -0.048048797994852066, 0.010867234319448471, -0.04602228105068207, 0.027584215626120567, -0.00400575390085578, 0.04663539305329323, -0.014571120962500572, -0.031011875718832016, -0.05030272156000137, 0.048603374511003494, -0.02579851821064949, 0.058131925761699677, 0...