question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>From the joint distribution of any two order statistics, say $Y_j$ and $Y_k$, $j&lt;k$ I would like to derive the distribution of $Z=F(Y_k)-F(Y_j)$.</p> <p>The initial pdf is:</p> <p>$$f_{Y_j,Y_k} (y_j,y_k) =\frac{n!}{(j-1)!(k-1-j)!(n-k)!} \times [F(Y_j)]^{j-1} [F(y_k)-F(y_j)]^{k-1-j} \times[1-F(y_k)]^{n-k} f(y_j)...
g22450
[ 0.02710213139653206, -0.031083032488822937, -0.020353369414806366, -0.02515123039484024, 0.016241218894720078, -0.07255366444587708, 0.010118541307747364, 0.0425991490483284, -0.04016745835542679, 0.010804311372339725, 0.008070112206041813, 0.0019402374746277928, -0.02307436615228653, -0.0...
<p>I run an ordinal regression model and I wanted to check the proportional odds assumption. In order to do that I used the <code>VGAM</code> package and I run olr twice, the first under the assumption and the second without the assumption. Below is the code and the results</p> <pre><code>&gt; fit1 &lt;- vglm(stage ~K...
g64353
[ 0.024696309119462967, -0.1090158075094223, 0.004175140522420406, -0.01463857851922512, 0.020947208628058434, -0.018500447273254395, 0.058251019567251205, -0.012899310328066349, -0.06899157166481018, -0.005157431587576866, 0.002075302880257368, 0.05725868046283722, 0.02746671810746193, -0.0...
<p>I have been reading “<a href="http://rads.stackoverflow.com/amzn/click/0387310738" rel="nofollow">Pattern Recognition &amp; Machine Learning</a>” written by Christopher M. Bishop for some time, but I am still a beginner. I wish to get a bigger view that summarizes regression and classification models.</p> <p>The bo...
g64354
[ -0.002245501382276416, -0.04763965308666229, -0.02135990560054779, -0.04305698722600937, -0.00513102114200592, 0.03005465492606163, 0.020321685820817947, 0.020915471017360687, -0.06130731478333473, -0.039741016924381256, -0.0031384264584630728, 0.04853023588657379, 0.12431028485298157, 0.0...
<p>I would like to convert an ARIMA model developed in R using the <code>forecast</code> library to Java code. Note that I need to implement only the forecasting part. The fitting can be done in R itself. I am going to look at the <code>predict</code> function and translate it to Java code. I was just wondering if anyo...
g41992
[ 0.029454557225108147, -0.0775332823395729, 0.04683244973421097, -0.04699153080582619, -0.01993621326982975, -0.01742054708302021, -0.005442156456410885, 0.05202910304069519, -0.02391124702990055, 0.008609485812485218, 0.035034485161304474, 0.0034445682540535927, 0.06312958896160126, 0.0330...
<p>After some heavy reordering and canceling of factorials, I discovered that the following experiment is approximately equivalent for $m \ll n &lt; N$ if conducted with or without replacement:</p> <blockquote> <p>In $n$ turns, draw marbles (with/without replacement) from an urn containing $m$ white and $N-m$ black ...
g64355
[ 0.038169603794813156, 0.037145618349313736, -0.00544061278924346, -0.06654039025306702, 0.015418382361531258, -0.05363116040825844, 0.03491142764687538, 0.008780033327639103, -0.02058892510831356, 0.01511798333376646, -0.05265524238348007, 0.026590123772621155, 0.021153170615434647, 0.0343...
<p>I have a table of sales growth rates by month calculated thus:</p> <p>$$\text{growth rate}_i=\dfrac{\text{sales in month } i-\text{sales in January}}{\text{sales in January}}$$</p> <p>What should I call this table? The best I've come up with it "sales growth rates from January by month". Is this ambiguous? Is ther...
g22453
[ 0.0626605898141861, 0.006884689908474684, -0.019853919744491577, -0.010735800489783287, -0.007711924146860838, -0.030656440183520317, 0.024364929646253586, -0.05135927349328995, -0.0090144332498312, -0.0749782919883728, 0.0607968308031559, 0.02021162025630474, 0.08055981993675232, -0.01480...
<p>I have series of returns on a stock.</p> <p>I want to apply exponential smoothing to my data using a rolling window with R.</p> <p>I don't how to do that.</p> <p>I define a function this way:</p> <pre><code>weight &lt;- function(data) { result1 &lt;- (rep(0.94,36)^rev(c(0:35)) result2 &lt;- result/sum(resul...
g22454
[ 0.03671271353960037, -0.02700062096118927, -0.014951910823583603, -0.02719017118215561, 0.00104562530759722, -0.038640160113573074, 0.07695639878511429, 0.023273363709449768, -0.05314195156097412, -0.008698421530425549, -0.013231907971203327, 0.060562264174222946, 0.05020388960838318, 0.01...
<p>I am examining a paper that uses growth mixture modeling. They have estimated intercept, linear slope, and quadratic growth parameters. They have also estimated random effects for the intercept and linear slope. However, they have set the variance of the quadratic slope to zero (which I understand to be using fixed ...
g64356
[ 0.044652219861745834, -0.04405128210783005, -0.02603880874812603, -0.018433881923556328, 0.015516077168285847, 0.022133976221084595, 0.07442548871040344, 0.010359369218349457, -0.00902323517948389, -0.049128592014312744, 0.018256885930895805, -0.015628976747393608, -0.005395673681050539, -...
<p>Given a categorical random variable with large number of possible outcomes and a sufficiently large sample, I observe that 90% of the sample falls into some relatively small number of categories, say, 30 out of 1000. How can I estimate minimum sample size such that these 30 categories are observed?</p> <p>A sort of...
g64357
[ -0.04433239996433258, 0.004679883364588022, -0.011389775201678276, -0.08947490155696869, -0.04488880932331085, -0.008060450665652752, 0.0006264589610509574, 0.04365125671029091, -0.011471385136246681, -0.027606572955846786, -0.009924537502229214, -0.032199032604694366, 0.04263783246278763, ...
<p>I would like to calculate the power of a Chi-Square test for goodness-of-fit as a function of sample size for a specified alpha-value (say 0.01). Specifically, I am referring to power as the probability that the test will correctly reject the null hypothesis. In most places I look, I can find only vague references...
g64358
[ 0.03943632170557976, 0.005614267662167549, 0.02222576178610325, -0.055826336145401, -0.008357992395758629, -0.06335292011499405, -0.025360936298966408, 0.053445104509592056, -0.03442560136318207, -0.012136809527873993, 0.011073354631662369, -0.004211753141134977, 0.019873635843396187, 0.02...
<p>my y variable is crop production (in kg/ha) and x variable is rainfall (mm). In a linear regression, if the slope is 0.5. I would say, 'if rainfall increases by 1 mm yield increases by 0.5 kg/ha.'</p> <p>Now if I do the regression again but this time I have standardised by x and y variable by centering and dividing...
g22456
[ 0.08317520469427109, -0.07041923701763153, -0.005302404053509235, -0.02504422701895237, 0.004139881115406752, -0.030374817550182343, 0.00535317650064826, -0.002093700459226966, -0.02898925356566906, -0.012217794544994831, -0.0250693429261446, 0.019029654562473297, 0.01451187115162611, -0.0...
<p>We have fitted a nonlinear function to observed data. The next step should be the assessment of the goodness of fit of this function (like $R^2$ for linear models). </p> <p>What are the usual ways to measure this?</p> <p><strong>Edit 1:</strong> </p> <p>The fitting was performed as follows:</p> <ol> <li>Perform ...
g64359
[ 0.02352621592581272, -0.09437127411365509, 0.006259028799831867, -0.009947918355464935, 0.026965323835611343, -0.011704818345606327, 0.016674557700753212, 0.03168376162648201, -0.06075296550989151, -0.015064251609146595, -0.030995655804872513, 0.018409742042422295, 0.02811473421752453, 0.0...
<p>Using Stata 11.2, I would like to develop 2 analytic models that could be implemented by school administrators to flag students for intervention. I'm wondering if it would be possible to develop these models based on historical cross-sectional data consisting of 650,000 unique observations (11th grade students); it...
g64360
[ -0.03821910172700882, -0.0402514673769474, 0.010228787548840046, -0.035023946315050125, 0.012418864294886589, -0.008273571729660034, 0.050149690359830856, 0.049006614834070206, 0.004345628898590803, -0.013744467869400978, -0.002562029752880335, 0.026239078491926193, 0.0746021643280983, -0....
<p>So I always understood the error term to be the difference between the observed value from the true, yet unobservable, function value. However, I often here, especially related to the economics fields, articles and people talking about error terms as 'shocks'. </p> <p>Can anyone offer an intuitive, non-math intensi...
g22457
[ 0.06244410201907158, 0.04205738380551338, -0.027428677305579185, -0.024154841899871826, 0.025476301088929176, 0.02877241186797619, 0.0380069874227047, 0.018406091257929802, -0.049139317125082016, -0.03541646525263786, -0.07293311506509781, -0.0033920917194336653, 0.07127124816179276, -0.01...
<p>I used the package R <a href="http://cran.r-project.org/web/packages/fitdistrplus/index.html" rel="nofollow">fitdistrplus</a> in order to estimate parameters of different distribution function. </p> <p>In one case it shows a strange error message I can't interpret:</p> <pre><code>&gt; fitdist(data=rf,distr="gev",m...
g680
[ 0.017331764101982117, -0.03803607076406479, -0.01377201359719038, -0.0952468141913414, 0.016492893919348717, 0.01316741481423378, 0.012709885835647583, 0.006964307744055986, -0.043848488479852676, -0.05829104036092758, -0.06622250378131866, 0.011775370687246323, 0.044202279299497604, 0.041...
<p>hopefully someone can point me in the right direction here.</p> <p>I'm using boosted regression trees (BRT) to assess the relative importance of a number of environmental factors (sea bottom temperature, sea bottom salinity, substrate grain size, depth, distance from shore, maximum water speed @ seabed) on fish abu...
g64361
[ 0.022565966472029686, -0.025563795119524002, -0.007033308036625385, -0.09576285630464554, 0.03505445271730423, 0.02174634113907814, 0.03269501402974129, 0.0022452552802860737, -0.016897188499569893, -0.01276719942688942, 0.013887985609471798, 0.10512365400791168, 0.09606493264436722, 0.013...
<p>Can regression be used for out lier detection. I understand that there are ways to improve a regression model by removing the outliers. But the primary aim here is not to fit a regression model but find out out liers using regression</p>
g64362
[ 0.038697581738233566, -0.04717013239860535, 0.0010794410482048988, 0.006980489008128643, 0.007619219832122326, -0.018124016001820564, 0.020258333534002304, 0.00833548791706562, -0.082101009786129, -0.027669083327054977, 0.019746528938412666, 0.052971985191106796, -0.031086890026926994, 0.0...
<p>I have four variables want to run regression while i check for data distribution i found that histogram and qq plot provide evidance of normal data distribution where as ks test is significant for all variables. one more thing i see there are no negative values in data set all are positive can it be the reason of ks...
g49695
[ 0.008253469131886959, 0.007406686432659626, -0.03229653090238571, -0.02875582128763199, -0.03769957274198532, 0.023586148396134377, -0.01468273438513279, 0.015094276517629623, -0.05190443620085716, -0.05646727979183197, 0.034827593713998795, 0.04253268986940384, 0.029312970116734505, 0.024...
<p>I ran an experiment with an eye tracker and my data frame has this look:</p> <pre><code> Condition DWellsAOI1 DwellsAOI2 TotalDwells Participant1 1 12 13 25 Participant2 2 100 11 111 Participant3 1 50 ...
g22461
[ -0.01831761747598648, 0.005486201029270887, -0.000766887329518795, 0.018939858302474022, -0.008683310821652412, -0.046449027955532074, 0.06168430298566818, 0.002769591985270381, -0.04753991961479187, -0.0028419983573257923, 0.01193916890770197, 0.011232077144086361, 0.04119036719202995, 0....
<p>I'm getting started with R, I really like it but recently I found myself in a corner. I'd like to build neural network model that predicts heat consumption. I have historical data that contains outside air temperature (model input) and heat demand values (model output) in megawatts (hourly data from past 4 years). I...
g64363
[ 0.03310620039701462, -0.007169013377279043, -0.0068566580303013325, 0.027705449610948563, -0.0040890988893806934, -0.013068796135485172, 0.029698990285396576, 0.0227739829570055, -0.10458286106586456, -0.035074569284915924, -0.009426192380487919, 0.01530984602868557, 0.03261912614107132, 0...
<p>As the title says, I'm looking for the distribution of $X$ given that $X&gt;Y$.</p>
g22462
[ 0.04298538342118263, 0.07803753763437271, -0.018513822928071022, -0.045119307935237885, -0.028579801321029663, -0.03687082231044769, -0.02220369130373001, 0.016699161380529404, 0.03669747710227966, -0.043686386197805405, 0.008906085044145584, -0.006333392579108477, -0.023893535137176514, 0...
<p>I have a dataset composed by 200.000 projects. Each project is defined according to its size and the presence of active users (1 if the project has active users, 0 otherwise).</p> <p>I've ordered the projects according to their sizes (ascending order), then I've grouped the projects in 10 groups (20.000 projects pe...
g22463
[ 0.007291670423001051, -0.00865937490016222, -0.0018507357453927398, -0.06193044036626816, -0.007701515685766935, -0.0537305548787117, 0.019524304196238518, 0.007086378522217274, -0.05056626349687576, -0.018536798655986786, 0.05737820640206337, 0.012270413339138031, 0.02904690057039261, 0.0...
<p>I'm performing a t-test on a time series with a sliding window (i.e. every N samples, perform a t test).</p> <p>I know that overall, the samples are roughly normally distributed, however adjacent samples are correlated, so the N samples (taken for the t test) may not be normally distributed. Are the t test assumpti...
g22464
[ 0.019249146804213524, -0.009020678699016571, -0.0007925700047053397, -0.022621428593993187, -0.017975376918911934, 0.00028448994271457195, 0.06730005145072937, 0.03366035595536232, -0.03968508169054985, 0.014153925701975822, 0.03147168457508087, -0.001641136477701366, -0.06928400695323944, ...
<p>For a research project, I'm asked to find ways to build an economic foresight system. For example, for the production of cheese. We will have data about the market indicators, like price, demand etc. And we want to build a system that estimates the future state of these variables.</p> <p>Machine Learning and Bayesi...
g64364
[ -0.01097220927476883, 0.03557610884308815, 0.017895471304655075, -0.007861915044486523, -0.05891186743974686, -0.04083158075809479, -0.014728613197803497, 0.010130113922059536, -0.04777345061302185, -0.023035934194922447, 0.026340743526816368, -0.011834797449409962, 0.10067357122898102, 0....
<p>How can I determine a significance factor?</p> <p>For example,</p> <p>If 1/1 samples returns positive, the ratio is one. However, if 9/10 samples return positive, the ratio is .9, but is better because of the number of samples tested. Is there any way to statistically rank these test scenarios. I know it may be up...
g64365
[ 0.017053447663784027, 0.010066015645861626, -0.00981383491307497, -0.03941807150840759, 0.05002995580434799, -0.05604841560125351, 0.01972576230764389, 0.0016158573562279344, 0.005949755664914846, -0.015238983556628227, 0.034567881375551224, 0.0002297649480169639, 0.015110637061297894, -0....
<p>Please, how artificial neural network and support vector machine methods reduce dimensionality of variables? And based on what do we select the extraction features (retained variables)?</p>
g42507
[ 0.0318877287209034, -0.041374921798706055, 0.02338576130568981, -0.019794294610619545, 0.001215744181536138, -0.010999755933880806, 0.034095291048288345, 0.03437349572777748, -0.09417521953582764, -0.03267863765358925, 0.006523068994283676, 0.007633787114173174, 0.014009661041200161, 0.049...
<p>(I'm a newbie at stats. I'm a mathematician and a programmer and I'm trying to build something like a naive Bayesian spam filter.)</p> <p>I've noticed in many places that people tend to break down the denominator in the equation from Bayes' Theorem. So instead of this:</p> <p>$\frac{P(A|B)\cdot P(B)}{P(A)}$</p> <...
g22467
[ 0.024195360019803047, 0.058054059743881226, -0.026655258610844612, -0.02511335350573063, 0.04004120081663132, -0.03293885290622711, 0.025106873363256454, 0.06818218529224396, -0.01662190444767475, -0.039738018065690994, -0.05116219073534012, 0.02327413484454155, 0.04409225657582283, 0.0019...
<p>I have a fairly larege file 100M rows and 30 columns or so on which I would like to run multiple regressions. I have specialized code to run the regressions on the entire file, but what I would like to do is draw random samples from the file and run them in R. The strategy is: randomly sample N rows fr...
g22468
[ 0.013501988723874092, -0.057783711701631546, -0.024686554446816444, -0.020947134122252464, -0.0361291728913784, -0.07123638689517975, 0.012379682622849941, 0.002995744813233614, -0.0851428210735321, 0.0020473464392125607, -0.015170279890298843, -0.01456468552350998, 0.03246120736002922, 0....
<p>In a log-log model, such as $\log(y) = b_0 + b_1 \log(x)$, I know that with OLS the standard interpretation is a "1% increase in x is associated with a $b_1$% increase in y." </p> <p>I have three related questions:</p> <ol> <li>If x is a percentage variable that was logged to correct skew (ex: x ranges from .01 to...
g64366
[ -0.032224398106336594, -0.049725182354450226, -0.01932402141392231, -0.02712569199502468, -0.0017086656298488379, -0.05253704637289047, 0.023956572636961937, 0.03650374710559845, 0.004921840038150549, -0.00976763665676117, -0.03099614754319191, 0.011363950558006763, 0.08344681560993195, -0...
<p>I'm attempting to take a list of products and rank them according to rating and votes. This is tricky!</p> <p>Lets suppose product <strong>A</strong> is rated at average <strong>5.6</strong> at <strong>310</strong> votes. Product <strong>B</strong> is average <strong>7.3</strong> at <strong>10</strong> votes. Produ...
g64367
[ -0.03813520073890686, -0.019058914855122566, -0.0017949790926650167, -0.028175847604870796, 0.02977951616048813, -0.013457376509904861, -0.03741060942411423, 0.01638888195157051, 0.05317860469222069, 0.0296945683658123, -0.011395594105124474, 0.02501075156033039, 0.03176163136959076, 0.018...
<p>X is uniform random variable in [0,1] and Y=1-X. How do I calculate the distribution function F(X,Y)? I can see that Y is also uniformly distributed and can draw the intervals. But I am unable to compute the distribution function when x+y>1 &amp; x,y in [0,1]. How do I compute it for this specific case?</p>
g42015
[ -0.01803901605308056, -0.021678611636161804, -0.027594730257987976, -0.0454045869410038, -0.030191274359822273, 0.00030453907675109804, 0.01636572554707527, 0.03619467839598656, -0.014750225469470024, -0.03493751585483551, -0.019210774451494217, 0.022779662162065506, 0.04635905474424362, -...
<p>I've implemented the <a href="http://en.wikipedia.org/wiki/Marsaglia_polar_method" rel="nofollow">Marsaglia polar method</a> to generate random numbers that are normally distributed. Unfortunately the code as shown on this <a href="http://www.taygeta.com/random/gaussian.html" rel="nofollow">website</a> returns numbe...
g64368
[ -0.003214756492525339, -0.019326338544487953, -0.009432313032448292, -0.03746261075139046, -0.016589798033237457, 0.004840153735131025, -0.022854849696159363, -0.006854749284684658, -0.04620632156729698, -0.10188331454992294, 0.02382916957139969, -0.009321398101747036, 0.044173311442136765, ...
<p>The waiting times for poisson distribution is an exponential distribution with parameter lambda. But I don't understand it. Poisson models the number of arrivals per unit of time for example. How is this related to exponential distribution? Lets say probability of k arrivals in a unit of time is P(k) (modeled by poi...
g64369
[ -0.016440702602267265, 0.04765504598617554, -0.0023489040322601795, -0.0534244030714035, 0.024961775168776512, 0.019186660647392273, -0.0397820919752121, 0.05714735761284828, -0.05243509262800217, -0.001129467273131013, -0.03946928679943085, -0.04599974304437637, 0.06452421098947525, -0.01...
<p>I am doing a survival analysis in R with the <code>survival</code> package. I think I am working with left-truncated data, but I'm not entirely sure how to handle it.</p> <p>I have a cohort of patients diagnosed between 1990 and 2012. All the patients have a well-defined time of diagnosis (entry time). However, the...
g64370
[ 0.008327162824571133, -0.057143434882164, 0.009454927407205105, -0.04308869317173958, -0.009478460997343063, -0.00454501761123538, 0.04231436178088188, 0.03520995378494263, -0.025833576917648315, 0.02175161801278591, 0.003421540604904294, 0.01645159348845482, 0.02255091816186905, -0.002193...
<p>Is there any free desktop software for <a href="http://en.wikipedia.org/wiki/Treemapping" rel="nofollow">treemapping</a>? <a href="http://en.wikipedia.org/wiki/List_of_treemapping_software" rel="nofollow">Every one I've found</a> appears to have a commercial license. <a href="http://manyeyes.alphaworks.ibm.com/manye...
g37516
[ -0.028483280912041664, 0.03542396426200867, 0.011167199350893497, -0.020804855972528458, -0.020905964076519012, -0.07324136793613434, -0.026317311450839043, 0.016994161531329155, 0.029372110962867737, 0.025431763380765915, 0.03334625065326691, -0.04427889734506607, 0.0605589896440506, 0.05...
<p>How do you calculate an estimate for the variance covariance matrix of a logistic regression with elastic net regularization?</p> <p>Starting from the variance-covariance matrix of a plain vanilla logistic regression, how does the formula need to be augmented: $\hat{\Sigma}=-\left[\hat{p}(1-\hat{p})XX^{T}\right]^{-...
g64371
[ 0.035604868084192276, -0.02056020125746727, -0.0015847173053771257, -0.047429200261831284, 0.09506064653396606, -0.019100749865174294, -0.008989561349153519, 0.01662091165781021, -0.02651909366250038, -0.003205145476385951, -0.021415166556835175, 0.04603461176156998, -0.02027897909283638, ...
<p>I'm trying to compare if the order in col 1 is comparable to the order in col 2. The simplest thing I can do is just to compare both ranks using something like Friedman's test. </p> <p>However, Col1 and Col2 is on a continuous basis. And for instance, the .94 and .93 in column 2 are closer together than 13.06 is to...
g64372
[ 0.02590409480035305, -0.08124826848506927, -0.011779038235545158, -0.07539896667003632, 0.0016952642472460866, -0.04118575528264046, 0.06446345150470734, -0.04527944326400757, -0.07073337584733963, 0.023824986070394516, 0.05685800313949585, 0.00405664648860693, 0.03967132046818733, -0.0243...
<p>Please apologize my butchering of statistical lingo :) I have found a couple of questions on here that are related to advertising and click through rates. But none of them helped me very much with my understanding of my hierarchical situation.</p> <p>There's a related question <a href="http://stats.stackexchange.co...
g64373
[ -0.005688119679689407, 0.01063623744994402, -0.0050815679132938385, -0.02323639765381813, 0.025880027562379837, -0.006422596517950296, 0.06574902683496475, 0.01812738925218582, -0.05419210344552994, -0.0013590255985036492, -0.01102457009255886, 0.051008470356464386, 0.002949550747871399, 0...
<p>By default, machine learning packages turn inverse distance weighting off for KNN. To me, it seems that inverse distance weighting is always a good option.</p> <p>Why would we not want to use IDW with KNN? [And why would we want to?]</p> <p>Thanks</p>
g19901
[ 0.0047445399686694145, -0.00272341794334352, 0.014032878912985325, -0.02302379347383976, -0.027837147936224937, 0.01998656988143921, -0.08368387818336487, 0.03043586201965809, -0.07879798859357834, -0.03430600464344025, -0.002472120802849531, 0.010353131219744682, 0.05197375267744064, 0.02...
<p>This is a multi-response linear regression experiment. I generate a random matrix of gaussian noise $\mathcal{N}(0,1)$ sized 10x6 called $Y_N$. I then generate an independent response $X$ via either uniform or gaussian noise, 10x1. I then regress $X$ on $Y_N$, generating $\hat{Y}$. I obtain my residuals, $Y_{res}$, ...
g64374
[ 0.014314292930066586, -0.013672555796802044, -0.016705511137843132, -0.021983440965414047, 0.016832880675792694, -0.01613580621778965, 0.024082928895950317, 0.01199538353830576, 0.004001246765255928, -0.02750604972243309, 0.006865480914711952, 0.00564144691452384, 0.01710338331758976, 0.01...
<p>I was reading the Wikipedia article on Robust Statistics: <a href="http://en.wikipedia.org/wiki/Robust_statistics#Properties_of_M-estimators" rel="nofollow">http://en.wikipedia.org/wiki/Robust_statistics#Properties_of_M-estimators</a></p> <p>What is meant by the distribution of an estimator, as used here,</p> <blo...
g64375
[ 0.05808699503540993, -0.0014141903957352042, 0.009350964799523354, 0.041626036167144775, -0.04378586634993553, -0.03659988194704056, 0.011215735226869583, 0.001166207017377019, -0.034300025552511215, 0.014162162318825722, 0.03711080923676491, -0.000712374341674149, 0.02831992134451866, 0.0...
<p>I was wondering if anybody had any insight or intuition behind the difference between the <a href="http://en.wikipedia.org/wiki/Variation_of_information" rel="nofollow">Variation of Information</a> and the <a href="http://en.wikipedia.org/wiki/Rand_index" rel="nofollow">Rand Index</a> for comparing clusterings.</p> ...
g64376
[ 0.013170910999178886, -0.023610038682818413, -0.03771718218922615, -0.04920342564582825, 0.022144930437207222, -0.026841627433896065, 0.05071953684091568, -0.030000146478414536, -0.035345930606126785, -0.005152108613401651, 0.04217064753174782, -0.017888950183987617, 0.07818616181612015, -...
<p>When I run multinomial logistic regression with some of the explanatory variables as categorical, my algo (glm) turns them in binary variables, automatically. For examples if one categorical variable X has three values a, b anc c, then my output shows cofficient and t-values for x.a, x.b and x.c. </p> <p>But in fac...
g42027
[ -0.034477755427360535, 0.04110778868198395, -0.018808158114552498, -0.06827685236930847, -0.0009456753614358604, -0.06924248486757278, -0.02411901392042637, -0.017631052061915398, -0.12291491031646729, 0.029505543410778046, -0.007589880842715502, 0.046533454209566116, 0.07840504497289658, ...
<p>I'm trying to get my head around the mediation package in R, using the vignette for the package. </p> <p>I'm struggling to understand the output of the <code>mediate()</code> function. </p> <pre><code>require("mediation") require("sandwich") data("framing") med.fit &lt;- lm(emo ~ treat + age + educ + gender + inco...
g64377
[ -0.010459003038704395, -0.07561394572257996, -0.029920119792222977, -0.06414024531841278, 0.0399826280772686, -0.03564448282122612, 0.0612017959356308, 0.03518674150109291, 0.00022285980230662972, -0.034633882343769073, -0.04928233474493027, 0.020010599866509438, 0.04679880291223526, -0.01...
<p>I'm still trying to classify few (about 200) samples in a high dimensional feature space (dim=19) into 3 (very unbalanced) classes. I use an implementation of Least Squares SVM with one vs one coding with class weighting.</p> <p>I want to:</p> <ol> <li>estimate the best model parameters</li> <li>estimate the overa...
g22482
[ 0.01844956912100315, -0.02110344171524048, 0.01867525838315487, -0.03755950927734375, 0.04703903570771217, -0.043293070048093796, 0.022779591381549835, 0.009365315549075603, -0.05806935206055641, 0.007625659927725792, -0.018946263939142227, 0.027590589597821236, -0.003601365489885211, 0.06...
<p>I have made a summative scale based on a likert scale. That have created 7 multi item scales all based on theory and validated by a reliability analysis using cronbach's alpha showing all values above 0,7 for all the 7 multi item scales, which consist of 5-6 questions that have been added and divided by the number o...
g64378
[ 0.006101760547608137, -0.01020164042711258, -0.0008089572074823081, -0.028127199038863182, 0.0018050946528092027, 0.009971285238862038, -0.027765605598688126, 0.004082708153873682, 0.007151920814067125, -0.01562229823321104, -0.016660703346133232, -0.058941420167684555, 0.002640324179083109,...
<p>I am trying to calculate the marginal maximum likelihood estimate of a parameter ρ given a vector of data <em>x</em> for person <em>i</em> across <em>n</em> items. This is in the context of Item Response Theory. The first (usual IRT) parameter, θ, is the ability (theoretically unbounded but usually between -3 and 3)...
g64379
[ -0.005558615550398827, -0.051712486892938614, 0.004356973338872194, 0.01279529184103012, -0.04654425382614136, -0.0005100913695059717, 0.0583600290119648, 0.05188537761569023, -0.07932724058628082, -0.011546035297214985, -0.05985261872410774, -0.019679885357618332, 0.027241451665759087, 0....
<p>I have a multivariate time series . For each row in the data we have the values of inputs and a label for stability (0 or 1 ) . What are the algorithms that can detect the stability for an unlabelled time series, using this historical data. The sample data looks like this <img src="http://i.stack.imgur.com/lSiwX.pn...
g64380
[ 0.005707872100174427, -0.04411201924085617, -0.002508416073396802, -0.09189993888139725, 0.006995824631303549, 0.004615114536136389, 0.020161142572760582, -0.032116763293743134, -0.039494771510362625, 0.033537402749061584, -0.00635565398260951, 0.07043000310659409, 0.05373194441199303, 0.0...
<p>I want to run a regression in R with different datasets. The question is whether stock performance (daily log return) is influenced by factors like interest rates (the one set by fed or ECB), size of the board of directors (e.g. has been long 7 and then switches to 8) and whether there is an audit committee or not (...
g64381
[ 0.01883191429078579, 0.003511484945192933, -0.005935813300311565, -0.02047392539680004, 0.014727763831615448, -0.07797763496637344, 0.056238796561956406, 0.00904427282512188, -0.06739623844623566, -0.068083755671978, 0.02846449986100197, 0.05439974367618561, 0.0029533500783145428, 0.000817...
<p>I have 100 pairwise comparisons where my results show that 33% of the pairwise comparison tests are non-significant. </p> <ul> <li>How can I draw draw a <a href="http://en.wikipedia.org/wiki/Hasse_diagram" rel="nofollow">Hasse diagram</a> to represent this?</li> <li>Are there any tips to follow when drawing a Hasse...
g64382
[ -0.039224401116371155, 0.01744002290070057, -0.0045021832920610905, -0.04607580974698067, 0.037322428077459335, -0.03481674566864967, -0.0029600912239402533, 0.0525989830493927, -0.018007813021540642, -0.008395791053771973, 0.03877291828393936, -0.03281908109784126, 0.0702560767531395, 0.0...
<p>I trained a Support Vector Machine with the <strong>caret</strong> package in <strong>R</strong>.</p> <p>My <strong>dataset</strong> looks the following:</p> <pre><code>+----+----+----+----+----+----+----+---+ | x1 | x2 | x3 | x4 | x5 | x6 | x7 | y | +----+----+----+----+----+----+----+---+ </code></pre> <p>I hav...
g64383
[ 0.028938664123415947, -0.04608803614974022, 0.030895818024873734, 0.02339649386703968, 0.024307172745466232, -0.054953161627054214, 0.035247743129730225, 0.022761739790439606, -0.06764518469572067, -0.08030514419078827, -0.010630439966917038, 0.0011169990757480264, 0.04432890936732292, 0.0...
<p>In text classification problems where the number of features >> number of documents, is it useful to perform feature selection with filters (e.g. Information Gain) when using Naive Bayes. However, what about SVM and Maximum Entropy classifiers ?</p>
g690
[ -0.02475651167333126, -0.010211904533207417, 0.04472961276769638, 0.027349581941962242, -0.02885407768189907, -0.10595574229955673, -0.03754693642258644, 0.05609891936182976, -0.04016874358057976, 0.009982801973819733, 0.017446313053369522, -0.027811679989099503, 0.0886879414319992, 0.0171...
<p>In order to make some predictions for my work I have modeled a process using a binomial distribution, but in my case every single experiment must be a success and I am just changing the probability that each individual trial is a success. Effectively what I am looking at is:</p> <p>$$ P({\rm success}) = p^m $$</p> ...
g22489
[ -0.04189852252602577, 0.0017471500905230641, 0.012033496052026749, 0.03250974416732788, 0.023630760610103607, -0.030927583575248718, -0.004360919818282127, 0.038587912917137146, -0.03801323473453522, -0.0006849152850918472, -0.022422710433602333, 0.018788626417517662, 0.010469638742506504, ...
<p>Hello I don't have any idea of how to start implementing Kalman Filter in python! I have a DataFrame ( table) with in one column my forecast values and in another column my actual datas (real). The data are the same active power By using pykalman, I want to improve my forecast results and I don't know how to get thi...
g64384
[ 0.02683711238205433, -0.03834923729300499, -0.014141281135380268, -0.039540186524391174, 0.016365675255656242, -0.04595419764518738, 0.03397086262702942, 0.014958136714994907, -0.07618998736143112, 0.009550703689455986, 0.003921618685126305, 0.0008220733725465834, 0.05962711200118065, 0.02...
<p>I'm aware of the fact that first differences and fixed effects are both designed for the same solution -- removing unobserved unit-level effects.</p> <p>However, I'm unclear on what happens when you include a unit-level dummy in a first differences model (I've seen this done for error-correction models as well as e...
g22490
[ 0.005614065565168858, 0.004213804844766855, 0.019377270713448524, -0.0061647044494748116, 0.04575791209936142, 0.01424848660826683, 0.002324067521840334, 0.03594387695193291, -0.01438993401825428, -0.015899837017059326, -0.05216696485877037, 0.03927658870816231, 0.020416362211108208, 0.042...
<p>This question stems from Pedro Domingos' excellent paper <a href="http://homes.cs.washington.edu/~pedrod/papers/cacm12.pdf" rel="nofollow">"A Few Useful Things to Know About Machine Learning."</a> The paper is extremely clear and well-written, but I still have a clarification question. Namely, what is the difference...
g64385
[ 0.035373371094465256, -0.020402466878294945, 0.008610437624156475, -0.046970099210739136, 0.000983740552328527, -0.006065675988793373, 0.026385530829429626, 0.00019529783457983285, -0.036318980157375336, -0.01690986566245556, -0.013434113003313541, 0.0812014564871788, 0.09652411937713623, ...
<p>I am working in SPSS on a repeated measures linear mixed model and I am having a really hard time wrapping my head around how to select a "repeated covariance type". The options are:</p> <ul> <li>Ante-Dependence:First Order</li> <li>AR1</li> <li>AR1 Heterogenous</li> <li>ARMA</li> <li>Compound Symmetry</li> <li>Com...
g64386
[ -0.011266151443123817, -0.030997758731245995, -0.00701212789863348, -0.08520201593637466, 0.025524919852614403, 0.0030580393504351377, 0.0341944545507431, -0.03310588374733925, -0.032571904361248016, 0.004736034665256739, 0.002973604714497924, -0.03378452733159065, 0.03335288539528847, 0.0...
<p>I'm looking for an intuitive explanation of Bayesian Logistic Regression (I'm using it for texts if that's relevant). It seems that <a href="http://www.stat.columbia.edu/~madigan/PAPERS/techno.pdf" rel="nofollow">this</a> article presents it, but it's, uh, <em>way</em> too mathy.</p> <p>Thanks!</p>
g22491
[ 0.02510007470846176, 0.0593978688120842, -0.01654333993792534, -0.021574653685092926, 0.01882799156010151, -0.029355887323617935, -0.007534744683653116, -0.0438879057765007, -0.04526890441775322, -0.023178689181804657, 0.012823374010622501, 0.024597838521003723, 0.08268484473228455, 0.0156...
<p>I have four variables. The first two (V1, V2) are correlated .98. The third and fourth variables are correlated (.99). When I correlate the ratios V1/V3 and V2/V4 the correlation drops to .59. Any thoughts why? V1-V3 and V2-V4 are correlated about .98. Coudl that have anything to do with it? And how? Thank you, G</p...
g64387
[ 0.05406459420919418, -0.08054031431674957, -0.003190502990037203, -0.0334286205470562, 0.07007984817028046, 0.0281202532351017, 0.017776109278202057, -0.0055761635303497314, -0.01659625582396984, -0.0028629545122385025, 0.0003059175214730203, -0.014666656032204628, -0.052248578518629074, 0...
<p>Let $Z_i,Z_2,\ldots$ be IID Random Variables with density $f$. Suppose that $P(Z_i&gt;0)=1$ and that $\lambda=\lim_{x \to 0+} f(x)&gt;0$. How can I show that $X_n=n \times \min\{Z_i\}$ has a limiting exponential distribution with mean$1/\lambda$?</p> <p>I know that the CDF of the first order Statistic is for $t&gt;...
g49408
[ -0.02140991948544979, 0.02162795700132847, -0.003737801918759942, -0.034467753022909164, 0.016861567273736, -0.03708171471953392, -0.028022663667798042, -0.0548095703125, -0.04927391931414604, -0.029754698276519775, -0.028203608468174934, 0.01004878245294094, 0.002433536574244499, 0.066394...
<p>I have a categorical variable with binary outcomes 0,1 (say Y), I want to study the association with other variables X1,X2,X3,X4,X5..... most of Xi's are categorical and few of them are continuous. I used Chisquare test to study the same, which tell wheather I can consider two variables independent or not.</p> <p>F...
g64388
[ 0.008998019620776176, -0.014622651971876621, 0.01937459222972393, -0.03059527836740017, -0.007000927347689867, -0.04345027357339859, -0.020047901198267937, 0.0599423311650753, 0.019441911950707436, 0.00818361435085535, -0.025593772530555725, 0.03543804585933685, -0.015564758330583572, 0.01...
<p>In a typical ChIP-Seq experiment, we found a transcription factor <code>ABC</code> peaks on 590 genes. 242 genes out of the 590 genes are classified as <code>ORF</code>s. If the number of <code>ORF</code>s contained in the genome is 5420, and the total number of genes in the genome is 6226, are the total <code>ABC</...
g64389
[ 0.04799157753586769, -0.007450982462614775, 0.004738225601613522, -0.0723012238740921, 0.01928124390542507, -0.04445388540625572, 0.03490004315972328, 0.029867524281144142, 0.014217535965144634, -0.031129922717809677, -0.0290638767182827, 0.00910612940788269, 0.007995529100298882, 0.045747...
<p>I'm using R to run some logistic regression. My variables were continuous, but I used cut to bucket the data. Some particular buckets for these variables always result in dependent variable being equal to 1. As expcted, the coefficient estimate for this bucket is very high, but the p-value is also high. There are ab...
g22492
[ -0.00688163610175252, -0.017557041719555855, -0.017268534749746323, -0.022561531513929367, 0.02425852045416832, -0.0014792348956689239, 0.07024156302213669, 0.024289526045322418, -0.06079774722456932, -0.04179712012410164, -0.06444455683231354, 0.03668499365448952, 0.036447830498218536, 0....
<p>I have two signals sampled at 100 Hz during 3 seconds. So I have 300 sample points at each signal series. I want to calculate coherence values between these two time series and would like to know whether this coherence value is statistically significant.</p> <p>I found two resources online:</p> <ol> <li><a href="...
g176
[ -0.020823976024985313, 0.0017684721387922764, -0.008530152961611748, -0.047443293035030365, 0.02551836520433426, 0.0015548099763691425, 0.00843986589461565, 0.023445507511496544, -0.05212341994047165, 0.018419895321130753, 0.022959504276514053, -0.002243342576548457, 0.04503564164042473, -...
<p>I have found this post:</p> <blockquote> <p>Yes. The coefficient reflects the change in log odds for each increment of change in the ordinal predictor. This (very common) model specification assumes the the predictor has a linear impact across its increments. To test the assumption, you can compare a model in whi...
g64390
[ 0.01307506114244461, -0.023975947871804237, -0.001010380801744759, -0.04628324881196022, -0.01367045845836401, -0.08012598007917404, 0.0010401300387457013, 0.012266370467841625, -0.03779718279838562, -0.010374524630606174, 0.015045925043523312, 0.04656635969877243, 0.0520610511302948, -0.0...
<p>I'm trying to analyze the effect of the laying order on a certain concentration of immune factor. I have a large set of data (1000+ eggs). I want to know if egg 1 (first-laid egg) will have higher concentrations than the last-laid egg (egg 7, 8, 9, etc) or even if the concentrations tend to increase/decrease with la...
g64391
[ -0.014075449667870998, 0.04557070508599281, -0.0022362039890140295, -0.006003677379339933, 0.019871370866894722, -0.032458607107400894, 0.013559263199567795, -0.0007628746097907424, -0.047291893512010574, -0.0383962020277977, -0.08013397455215454, 0.011294358409941196, 0.03881831839680672, ...
<p>I wonder if a GARCH model with only "autoregressive" terms and no lagged innovations makes sense. I have never seen examples of GARCH(p,0) in the literature. Should the model be discarded altogether? <br> <br> E.g. GARCH(1,0): <br> $$ \sigma^2_t = \omega + \delta \sigma^2_{t-1} $$<br> From the above expression one...
g22496
[ 0.041364315897226334, -0.032743919640779495, -0.0039038723334670067, -0.008113732561469078, 0.012066715396940708, -0.03256513923406601, 0.056251827627420425, 0.03890352323651314, 0.002721887081861496, 0.030713604763150215, -0.0714743509888649, 0.05202886834740639, 0.037087332457304, 0.0184...
<p>The problem here is very similar to the problem asked by someben in 2012 (link:<a href="http://stats.stackexchange.com/questions/30162/sampling-for-imbalanced-data-in-regression">Sampling for Imbalanced Data in Regression</a>). It involves the linear regression analysis using an unbalanced dataset. Say, you have kno...
g22497
[ -0.0007561907987110317, -0.08389905840158463, 0.015561799518764019, -0.08397501707077026, -0.014250285923480988, -0.01691701076924801, -0.032026682049036026, -0.0032856434118002653, 0.006876007188111544, -0.007936468347907066, -0.00005764608067693189, -0.010340040549635887, -0.00811619590967...
<p><strong>Description</strong></p> <p>I have several datasets(from different subjects) with the same type of data. For each dataset I cluster the data using affinity propagation. Clustering is based on similarity distance between data points and I'm using a type of histogram intersection for the distance (dataset are...
g22498
[ 0.017366984859108925, -0.03161776065826416, -0.022147059440612793, -0.021571556106209755, -0.04146646335721016, -0.04756192862987518, -0.0112726716324687, 0.05023468658328056, -0.011245484463870525, -0.000103376543847844, 0.015289404429495335, 0.02707666903734207, 0.0809597596526146, 0.005...
<p>I am an undergraduate student who currently preparing for my thesis paper. </p> <p>In my design, there is total 4 variable (1 predictor, 1 moderator and 1 outcome variable, all of them is in continuous scale. I also have 1 control variable which is in categorical scale). </p> <p>I am examining the relationship bet...
g22499
[ -0.0018967451760545373, 0.019329087808728218, -0.022969162091612816, -0.025392217561602592, 0.023702092468738556, 0.03261362761259079, -0.012851410545408726, 0.02609812654554844, -0.058982882648706436, 0.0021960760932415724, 0.03705238178372383, 0.0617954321205616, 0.01863931491971016, 0.0...
<p><a href="http://en.wikipedia.org/wiki/Sequential_Pattern_Mining" rel="nofollow">Sequential pattern mining</a> finds patterns in unlabeled data. So I assume its an unsupervised learning algorithm. But most references to pattern mining never mention the learning part. Why? Can sequential pattern mining be called an un...
g22500
[ 0.057252123951911926, 0.005610966589301825, 0.007292539346963167, -0.03747066482901573, 0.020832424983382225, -0.016935907304286957, 0.041118185967206955, 0.011757323518395424, -0.0237820316106081, -0.06509377807378769, 0.025595419108867645, -0.029254762455821037, 0.04000597074627876, 0.01...
<h2>Background</h2> <p>I have a data set $Y$:</p> <pre><code>set.seed(0) predictor &lt;- c(rep(5,10), rep(10,10), rep(15,10), rep(20,10)) + rnorm(40) response &lt;- c(rnorm(10,1), rnorm(10,4), rnorm(10,2), rnorm(10,1)) plot(predictor, response) </code></pre> <p>and a set of models g$_i$:</p> <pre><code>fits &lt;- ...
g64392
[ -0.02931162156164646, -0.03359906002879143, -0.002640998689457774, -0.040724385529756546, -0.014910898171365261, -0.00258231651969254, 0.028743455186486244, 0.006268687080591917, -0.05676434934139252, 0.004434357862919569, 0.03294060751795769, -0.0038117803633213043, 0.07506053894758224, -...
<p><strong>What exactly is a higher-order correlation?</strong> </p> <p>Is the term just a catch-all for all dependencies that are not captured by second-order correlations? Or do people mean something more precise than that?</p> <p>Can all higher-order correlations be captured by second-order correlations on some ...
g64393
[ 0.05919036269187927, -0.049415379762649536, 0.0028252091724425554, 0.027673624455928802, 0.04200981557369232, -0.006280849687755108, -0.051576487720012665, 0.007212543394416571, -0.026164768263697624, -0.03043108433485031, -0.08507954329252243, -0.006722262594848871, 0.006478389725089073, ...
<p>I have read some explanations about the properties of linear vs nonlinear models, but still I am sometimes not sure if a model on hand is a linear or a nonlinear one. For example, is the following model linear or nonlinear?</p> <p>$$y_t=\beta_0 + \beta_1B(L;\theta)X_t+\epsilon_t$$</p> <p>With:</p> <p>$$B(L;\theta...
g64394
[ 0.054863885045051575, -0.07638739794492722, -0.0051467521116137505, 0.012433809228241444, 0.06737545132637024, -0.026666520163416862, 0.004374365322291851, 0.028209567070007324, -0.007840891368687153, 0.009856026619672775, -0.040603090077638626, 0.028293849900364876, 0.030715234577655792, ...
<p>Suppose you've collected data on factors $X_1, X_2, X_3, \ldots X_p$ and you're interested in creating a latent factor score $L = \beta_0 + \beta_1 X_1 + \beta_2 X_2 + \ldots \beta_p X_p$ . For instance, these variables might have been part of a regimen of pain testing and you wish to "score" individuals for their o...
g16110
[ 0.029100971296429634, -0.060655176639556885, -0.018771879374980927, -0.07514629513025284, 0.042531419545412064, -0.10987871140241623, 0.018537508323788643, 0.00909329392015934, -0.024587271735072136, 0.010996708646416664, -0.0676628053188324, 0.07403439283370972, 0.027168365195393562, -0.0...
<p>I have a sample of data sets A = {a1, a2, a3, ...aN}</p> <p>We will change each data value following the same pattern, say a1’ =a1*10, a2’ = a2*10. Which statistics evaluated from this data set will be changed?</p> <p>Assume that I increase the size of this data set simply by make copies for each data,</p> <p>A’ ...
g64395
[ 0.012750638648867607, -0.010968957096338272, 0.005211599636822939, -0.07463493943214417, -0.012065845541656017, -0.010768766514956951, -0.0019795915577560663, 0.03192149102687836, -0.03556099161505699, -0.04080459475517273, -0.021063193678855896, 0.04258506000041962, 0.07367657124996185, 0...
<p>I have a stationary time series and I want to calculate the autocorrelation coefficient of order 1. For that I use OLS. I know the autocorrelation parameters change over the time. Thus it is not trivial to fix a window length for the regression. Moreover I can easily do over-fitting by finding the windows which opti...
g22504
[ 0.034410618245601654, -0.027207132428884506, 0.01139102317392826, -0.03622527793049812, -0.03420756384730339, -0.029320215806365013, 0.06312671303749084, 0.024980422109365463, -0.04320138320326805, 0.025060998275876045, 0.027355248108506203, 0.08036373555660248, -0.0016229077009484172, 0.0...
<p>I'm performing a weighted linear least squares fit, where the weights correspond to the number of counts of a specific observation. Due to the nature of the data, it is possible that a small handful of observations get weighted much more than the rest, so that the regression is dominated by, say, two data points onl...
g22506
[ 0.027550319209694862, 0.017350299283862114, -0.02003711648285389, -0.06389191746711731, 0.022482851520180702, -0.017809124663472176, -0.01551907043904066, 0.010230991058051586, -0.04500162601470947, -0.006112511269748211, 0.046080004423856735, 0.012769998982548714, 0.07865544408559799, 0.0...
<p>I have a regression with a harmonic effect of day of the year, which interacts with other variables. I am not sure how to interpret the coefficients. My model is:</p> <pre><code>m1 &lt;- lme(lcount ~ AirT + sin(2*pi/360*DOY) + cos(2*pi/360*DOY) + AirT*sin(2*pi/360*DOY) + AirT*cos(2*pi/360*DOY) + RainAmt ...
g64396
[ -0.014878964982926846, -0.07583902031183243, -0.00786529015749693, -0.04518986865878105, 0.016576936468482018, 0.0054473187774419785, 0.05804047733545303, 0.010079986415803432, -0.0333402156829834, -0.057569485157728195, -0.002484599594026804, 0.030200280249118805, 0.05208976939320564, 0.0...
<p>I have a classification problem with 2 classes (positive and negative). Usually, in such classification problems, all the samples will be labelled either 'positive' or 'negative'. In my dataset, some of the samples possess a combination of both positive and negative characteristics. Formally, if the dataset is $x$, ...
g64397
[ -0.0255610141903162, -0.01470201462507248, 0.027579912915825844, -0.029587682336568832, 0.0032452417071908712, -0.026285305619239807, -0.03369973227381706, 0.01383022591471672, -0.025170866400003433, 0.011653279885649681, 0.0698627382516861, 0.007789426017552614, 0.059084221720695496, 0.02...
<p>Could someone help me with question 5.b. I understand that the probability of any of these occuring independently is 0.5 but how do I combine those into a joint distribution function?</p> <p>Is $0.5 \cdot 0.5 \cdot 0.5 \cdot 0.5 = 0.0625$ correct?</p> <p><img src="http://i.stack.imgur.com/P1hud.png" alt="enter ima...
g64398
[ 0.05010516196489334, -0.008866071701049805, 0.00027491082437336445, -0.013851530849933624, 0.01860823854804039, -0.01397504098713398, 0.0319121778011322, 0.029411902651190758, -0.03392808884382248, -0.030544493347406387, -0.09313292056322098, 0.03649628534913063, 0.050706878304481506, -0.0...
<p>In page 206 of the book 'Elements of statistical learning', the author wrote:</p> <blockquote> <p><em>The local log-likelihood for this $J$ class model can be written</em> </p> <p>$\sum_{i=1}^NK_\lambda (x_0, x_i)\{\beta_{g_i0}(x_0) + \beta_{g_i}(x_0)^T(x_i-x_0) - log[1+\sum_{k=1}^{J-1}exp(\beta_{k0}+\beta...
g64399
[ -0.006505114492028952, 0.025212649255990982, -0.00203799013979733, -0.004838462918996811, 0.013554767705500126, 0.021922191604971886, 0.0450727716088295, 0.03448871895670891, -0.055744051933288574, 0.013699437491595745, -0.042577262967824936, 0.06763111799955368, 0.08022812008857727, 0.006...
<p>I understand the difference between LDA and QDA (linear and quadratic discriminant analysis), being that with LDA assume that your features have the same covariance matrix in each class.</p> <p>I wonder why I have not seen an example yet where they actually calculate the variance covariance matrices in each class a...
g64400
[ 0.015135211870074272, -0.06357194483280182, -0.0025626029819250107, -0.05986796319484711, 0.01011034194380045, -0.036674100905656815, 0.03606033697724342, 0.0005424422561191022, -0.032539885491132736, -0.03668612614274025, 0.045567549765110016, 0.0574134923517704, 0.0700024664402008, -0.00...
<p>I am in the process of writing an open source State Space Analysis suite in C# (for fun). I have implemented a number of different Kalman-Based Filters (Kalman Filter, Information Filter and the Square Root Filter) and the State and Disturbance Smoothers that work with these implementations. My tests on these filter...
g64401
[ 0.009819340892136097, -0.04817076399922371, -0.002023695968091488, -0.0009635984315536916, 0.030647145584225655, -0.010366519913077354, 0.060223307460546494, 0.009529564529657364, -0.07510918378829956, -0.009828551672399044, 0.02160797081887722, -0.015097285620868206, 0.034537795931100845, ...
<p>I was using <a href="http://scikit-learn.org/0.10/auto_examples/svm/plot_oneclass.html#example-svm-plot-oneclass-py" rel="nofollow">One class SVM</a> implemented in Scikit learn, Python for my research work. But I have no good understanding of this. Can anyone please give a simple, good explanation of One Class SVM?...
g64402
[ -0.03279010206460953, 0.03321756795048714, 0.016369452700018883, -0.008202950470149517, 0.009356994181871414, -0.03341994807124138, 0.032067034393548965, 0.0364115871489048, -0.04021274298429489, -0.051222290843725204, 0.009709305129945278, -0.02449479140341282, 0.0664750188589096, 0.03071...
<p>I have a one group trial with n = 100. I want to analyze the relationship between the accumulated amount of drug intake (continuous) and the effect (measured by symptom score).</p> <p>For example, for different time points for patient 1:</p> <pre><code>t1: d_amount 10, S_score 50 t2: d_amount 15, S_score 45 t3: d_...
g64403
[ 0.038655783981084824, -0.002458420116454363, -0.017780154943466187, -0.03783049434423447, 0.0014737441670149565, -0.03640994802117348, 0.016988007351756096, 0.04903702065348625, -0.044657956808805466, 0.022199375554919243, 0.02031612955033779, 0.03078281134366989, 0.046894073486328125, 0.0...
<p>I would like to know if individuals were consistent across three different days. I measured the latency of individuals for a maximum of ten minutes. Many individuals had a latency of 0 and some individuals never arrived and were therefore given a latency of 601. </p> <p>The data on each of the three days is very no...
g64404
[ -0.011999743990600109, -0.04967091605067253, -0.0005747458199039102, -0.08987041562795639, 0.04680810496211052, 0.009160766378045082, 0.06168155372142792, 0.0014709151582792401, -0.04068496450781822, 0.028048070147633553, -0.019810736179351807, 0.015576810576021671, -0.028721187263727188, ...
<p>I adjust the partial least squares regression for one categorical factor (2 levels – <code>be</code> or <code>nottobe</code>) with with the <code>pls</code> package in R. I try to use <code>round()</code> function in the predict values for take the decision if the result are the first or second level in my factor. D...
g22511
[ 0.0018514455296099186, -0.045034606009721756, 0.009067251347005367, -0.06138109415769577, 0.03602270409464836, -0.037155166268348694, 0.05668393149971962, 0.021302951499819756, -0.05355627089738846, -0.01785901002585888, -0.012030876241624355, 0.051030345261096954, 0.08621027320623398, 0.0...
<p>I have observations of two random variables $S_1(t)$ and $S_2(t)$ and I'm trying to build a test to see if they are related. In other words I'm trying to test if unknown functions $F_1(t)$ and $F_2(t)$ are the same function. The parameters $r$ and $b$ are constants with $ r \geq 0$ and $n_1$ and $n_2$ are Gaussian...
g22512
[ 0.019380785524845123, -0.08876682072877884, -0.003228838322684169, -0.023738497868180275, 0.004973734263330698, -0.023335512727499008, 0.02179650217294693, -0.03476551175117493, -0.05703284963965416, -0.022254537791013718, -0.0373942032456398, 0.05906955897808075, 0.009448492899537086, -0....
<p>What non-parametric methods exist to assess whether two random samples belong to the same distribution?</p>
g64405
[ 0.034398265182971954, -0.029918178915977478, 0.006092834286391735, -0.05374781787395477, -0.009387345984578133, -0.006578117609024048, 0.006695264484733343, -0.04963470622897148, -0.02445283904671669, -0.04446989670395851, 0.014948735013604164, -0.03503415361046791, 0.011087956838309765, 0...
<p>I'm trying to implement a Support Vector Machine classifier in R and I have to solve the optimization problem using the quadprog R package which solves problems of the form :</p> <p>$$min_b \frac{1}{2} b^tDb-d^tb$$</p> <p>such that : $A^tb \geq b_0$</p> <p>In my case :</p> <p>$$ A^t = \left(\begin{array} II\\ z...
g64406
[ -0.0012562386691570282, 0.00031330229830928147, 0.004967290908098221, -0.018638040870428085, -0.0028520801570266485, -0.019794298335909843, 0.02141098491847515, 0.025269675999879837, -0.06937744468450546, -0.01705058105289936, -0.02916795015335083, -0.0011579911224544048, -0.0117593202739954...
<p>I'm trying to fit a (simple) linear regression using MZ twin data. The reason why mixed-effects are used here is just to correct for correlated responses from the twins. </p> <p>The current model looks like this: </p> <pre><code>out.fit.1 &lt;- lmer(outcome ~ cov1 + cov2 + cov3 + predictor + (1 | PairNumber ), ...
g64407
[ 0.025784458965063095, -0.0823582112789154, -0.03082902729511261, -0.03567177429795265, 0.004068712238222361, 0.03285732492804527, 0.013520222157239914, 0.02411555126309395, -0.01258733682334423, -0.018303021788597107, 0.0003589843981899321, 0.00021644216030836105, 0.002461125375702977, 0.0...
<p>In our experimental design, we are assessing the effect of TMS on decision making. Our data is not normally distributed because our assesment test results in mean count data (ultimatum game). Besides, even randomized the previous test decisions are different across subjects as it is not possible to equalize in our c...
g42063
[ -0.017701081931591034, -0.017561867833137512, -0.003235019976273179, -0.03582633659243584, -0.015010341070592403, 0.012382853776216507, 0.041340477764606476, 0.008397342637181282, -0.047281522303819656, 0.02934207022190094, 0.040339794009923935, -0.00024970591766759753, -0.005903074983507395...
<p>I'm working with a time-series of several years and to analyze it, I’m using GAM smoothers from the package <code>mgcv</code>. I’m constructing models where zooplankton biomass (<code>bm</code>) is the dependent variable and the continuous explanatory variables are: </p> <p>-time in Julian days (<code>t</code>), to...
g37515
[ 0.019001338630914688, -0.036543603986501694, 0.02666855975985527, -0.045857641845941544, 0.006956140510737896, 0.0061393016949296, 0.1299041211605072, -0.015157792717218399, -0.06608586758375168, 0.0377066396176815, 0.0023576533421874046, 0.049099378287792206, 0.11328960210084915, 0.001636...
<p>I have tested gender difference on the relationship between Variable A and B using linear model (GLM command in SPSS). </p> <p>I have found that the interaction of A (covariate/independent variable) with gender (factor) on B (dependent variable) is statistically significant. This means that the relationship between...
g39293
[ 0.03052951954305172, -0.05179267376661301, 0.021811803802847862, -0.034004226326942444, 0.028986360877752304, 0.007051621098071337, -0.003657454624772072, -0.043748583644628525, -0.036200765520334244, -0.02716292440891266, -0.00463926000520587, 0.028354818001389503, 0.0275257658213377, 0.0...
<p>I want to regress two series (one big series divided in half) with the mean of the big series. I do that because I would like to "investigate" the relationship between those two subseries and the mean.</p> <p>Does this make any sense for you?</p> <p>When running the code below, I don't understand why I don't get ...
g64408
[ -0.014414051547646523, 0.017833998426795006, -0.027912098914384842, -0.02243424393236637, 0.03713409602642059, -0.022682106122374535, 0.02388511598110199, 0.005289657507091761, -0.025210194289684296, -0.1056213453412056, -0.03082832135260105, 0.0632624551653862, 0.020828189328312874, -0.00...
<p>I have a set of data, $y$ and $x$. I would like to test the following hypothesis: There is a peak in $y$; that is as $x$ increases, $y$ first increases and then decreases.</p> <p>My first idea was fitting $x$ and $x^2$ in a SLR. That is, if I find that the coefficient before $x$ is significantly positive and the co...
g40253
[ 0.04230322316288948, 0.028632963076233864, -0.03163610398769379, -0.031700681895017624, -0.023733094334602356, -0.06273530423641205, 0.015100233256816864, -0.026056751608848572, -0.012850864790380001, 0.020614195615053177, 0.006606790237128735, 0.05151623860001564, 0.038780830800533295, 0....
<p>What is the difference between spatial dependence and spatial heterogeneity?</p> <p>My question is motivated by readings in model specification problems in spatial econometrics, in particular <a href="http://onlinelibrary.wiley.com/doi/10.1111/j.1435-5957.2010.00279.x/full" rel="nofollow">Anselin (2010)</a>.</p>
g42068
[ 0.07034915685653687, -0.003045525634661317, 0.0076648215763270855, 0.009867379441857338, 0.006478846538811922, 0.06098084896802902, 0.03973858803510666, 0.007460656575858593, -0.04270956665277481, 0.03765382245182991, 0.00572588387876749, 0.00907595083117485, 0.04792944714426994, 0.0230520...
<p>Gelman &amp; Hill 2007 mention several times throughout their book that:</p> <p>"Roughly speaking, if a coefficient estimate is more than 2 standard errors away from zero, then it is called statistically significant. "</p> <p>However, when they use this rule throughout this book I find the conclusions inconsistent...
g20161
[ -0.009781812317669392, -0.010819241404533386, -0.005641289055347443, -0.004012058023363352, 0.0019355834228917956, 0.01690436154603958, 0.0557611808180809, 0.011654742993414402, -0.08610773831605911, 0.01632920652627945, -0.018741007894277573, -0.008660703897476196, 0.0720825046300888, -0....
<p>For example I have <code>vectX</code> and <code>vectY</code>, and I want to know: </p> <ol> <li>Which is the better model fitting for my data -- it can be linear, exponential, or parabolic. </li> <li>If my result is significant.</li> </ol> <p>I am doing it like this:</p> <pre><code>#response exponentiel expFct2 ...
g22519
[ 0.022581921890378, -0.021622562780976295, -0.013038473203778267, -0.04504247009754181, 0.05642421916127205, -0.03278689831495285, 0.0010272694053128362, 0.005492711439728737, -0.05134342238306999, -0.002142383251339197, -0.017784062772989273, 0.020518051460385323, 0.07421554625034332, -0.0...