question
stringlengths
37
38.8k
group_id
stringlengths
2
6
sentence_embeddings
listlengths
768
768
<p>I am using a binomial GLMM to assess differential habitat selection between two species with model selection using AIC. </p> <p>When I use many variables (8), the models converge but are not significant. However, when I reduce the number of variables the models either do not converge or have an AIC of 'Inf'. </p>...
g39132
[ -0.027544137090444565, -0.04873543605208397, 0.0034153852611780167, 0.015553109347820282, 0.039573200047016144, 0.025947637856006622, 0.08732211589813232, 0.01758410409092903, -0.05924280732870102, -0.022537922486662865, -0.014822347089648247, 0.030587414279580116, 0.014319377951323986, 0....
<p>In general, I'm wondering if there it is ever better not to use orthogonal polynomials when fitting a regression with higher order variables. In particular, I'm wondering with the use of R:</p> <p>If <code>poly()</code> with <code>raw = FALSE</code> produces the same fitted values as <code>poly()</code> with <code>...
g62774
[ 0.04278847202658653, -0.07621096819639206, 0.03149779513478279, -0.05431462079286575, -0.00851866789162159, -0.0338888093829155, -0.045120012015104294, 0.050963155925273895, 0.009692767634987831, 0.00961725227534771, 0.024533987045288086, 0.002280066953971982, -0.02342037856578827, 0.00249...
<p>When deconstructing my mixed effects model, I found a three-way significant interaction. I calculated my p-value by using maximum likelihood ratio tests allowing for a comparison of the fit of the two models (the model with all predictors minus the model with all predictors but the predictor of interest - in this ca...
g584
[ 0.027344057336449623, -0.034430213272571564, -0.01984945498406887, -0.03744426742196083, -0.018856501206755638, 0.031575776636600494, 0.0336223803460598, 0.02927483804523945, -0.0061892010271549225, -0.013541638851165771, -0.002687799744307995, -0.0343632772564888, 0.004274256527423859, -0...
<p>I'm doing principal component analysis (PCA) on my nutrition data. Basically, I want to condense 43 food groups into fewer groups (aka, I want to define 2-3 patterns based on the 43 food groups). The problem is, my Kaiser-Meyer-Olkin (KMO) measure is very low (~0.35) but my Barlett's test for sphericity remains sign...
g38075
[ 0.018011577427387238, 0.016296902671456337, 0.010050496086478233, -0.031201200559735298, -0.023583507165312767, -0.028097884729504585, 0.04549231752753258, 0.023797139525413513, -0.051204707473516464, -0.015275862999260426, 0.03915809467434883, 0.05196014419198036, 0.0037940614856779575, 0...
<p>I have a panel dataset on seaborne shipment prices for a sample of trading routes. The data is a fixed annual price, based on a) port costs and b) fuel (a function of distance and fuel price). The major unobserved variable is port cost, which differs by port, though may be similar by area. Each observation is a port...
g62775
[ -0.0034474653657525778, -0.04232405126094818, -0.015348169021308422, -0.08938143402338028, -0.0038987312000244856, -0.030422041192650795, 0.009746852330863476, 0.0022602342069149017, -0.046056319028139114, -0.03337414935231209, 0.008760510012507439, 0.0031300780829042196, 0.04799806699156761...
<p>This may be both a stats and economics question.</p> <p>Let's say that I am bidding in an auction for emails. There are 10,000 + plus emails and there are five bidders and each of us bids on a SINGLE email throughout the day as they become open to bids. The highest bidder wins the auction. Our revenue comes from us...
g7083
[ -0.041165851056575775, 0.019558165222406387, -0.010300532914698124, 0.0003039139846805483, -0.04244285076856613, -0.031619321554899216, 0.048019882291555405, 0.041510190814733505, 0.015619102865457535, -0.03260122984647751, 0.06396909803152084, 0.015399008058011532, 0.04667738452553749, -0...
<p>Is there any R package that can produce cube plots for <strong>2</strong> factors (in fact it is a <strong>square</strong> plot)? I want something similar to the first plot at the end of <a href="http://www.processma.com/resource/factorial_plots.htm" rel="nofollow">this page</a> on factorial plots. </p> <p>In the ...
g62776
[ 0.014423545449972153, -0.0077351164072752, 0.00943340640515089, -0.018216101452708244, -0.0673675462603569, -0.058182910084724426, -0.00772112188860774, -0.039068300276994705, -0.03149644285440445, -0.009218431077897549, 0.029222138226032257, 0.043757364153862, 0.02300708182156086, -0.0267...
<p>In explaining simple linear regression, isn't it a bit misleading for many examples to illustrate a straight line going through some scatterplot? This seems to suggest that linear regression only works if your independent and dependent variables have some sort of straight-line relationship, whereas the "linear" in l...
g20007
[ 0.01982141099870205, 0.008821559138596058, 0.0014861859381198883, -0.002140339696779847, -0.010313592851161957, 0.018909676000475883, 0.012381451204419136, -0.008302864618599415, -0.03734653815627098, -0.0755622461438179, 0.011175887659192085, 0.026999181136488914, 0.014210266061127186, -0...
<p>I have a dataset which is statistics from a web discussion forum. I'm looking at the distribution of the number of replies a topic is expected to have. In particular, I've created a dataset which has a list of topic reply counts, and then the count of topics which have that number of replies.</p> <pre><code>"num_re...
g62777
[ -0.006256248336285353, 0.007041607983410358, -0.036406777799129486, -0.08562752604484558, 0.02445409446954727, 0.005345830228179693, 0.006878605578094721, -0.023055048659443855, -0.01998313143849373, -0.019122641533613205, -0.003348330967128277, -0.03510411083698273, 0.07126238197088242, 0...
<p>Would appreciate any references to specific places where these terms are clearly defined. Thanks!</p>
g5477
[ 0.042848046869039536, 0.005361090414226055, -0.026448091492056847, -0.01261907909065485, 0.01572144404053688, -0.02485252171754837, -0.0563555583357811, 0.028432592749595642, 0.013545594178140163, 0.003946027718484402, -0.03174710273742676, -0.00333640119060874, 0.023168843239545822, -0.01...
<p>I was reading the multiple regression chapter of <a href="http://rads.stackoverflow.com/amzn/click/0521762936" rel="nofollow">Data Analysis and Graphics Using R: An Example-Based Approach</a> and was a bit confused to find out that it recommends checking for linear relationships between explanatory variables (using ...
g20011
[ 0.03634537383913994, -0.03195193409919739, -0.01239745132625103, -0.020523888990283012, -0.03217505291104317, -0.023849762976169586, -0.025878163054585457, 0.02327350713312626, -0.0036221512127667665, -0.033032942563295364, 0.03795488551259041, -0.024503204971551895, 0.021331069990992546, ...
<p>I'm debating taking some classes on statistics.com and was curious if anyone has taken classes there or knows any one who has or has any suggestions for good ways to learn stats/machine learning on the cheap-ish and on-line. </p> <p>NOTE: I'm already signed up for Andrew Ng's ML class for spring '12. </p> <p>Than...
g62778
[ 0.017445553094148636, -0.05826335772871971, 0.011240529827773571, -0.028275908902287483, 0.005772402510046959, -0.04004250466823578, -0.03545939922332764, -0.005913982633501291, -0.03231221064925194, -0.015651213005185127, 0.05884553864598274, -0.010191810317337513, 0.11149989813566208, 0....
<p>I am working on a problem to predict a value between 0 and 1. The data is skewed, so that only 18% of the values are greater than 0.</p> <p>I implemented a machine learning system, and what is happening is that the lowest error rate on the validation set (18%) is found when all predictions are 0.</p> <p>So, I want...
g39141
[ 0.014050577767193317, -0.06677491962909698, -0.0015859134728088975, -0.002865995280444622, 0.020435791462659836, -0.028923114761710167, -0.024129727855324745, 0.07080354541540146, -0.07434118539094925, -0.021986039355397224, 0.06020000949501991, 0.0037061404436826706, 0.08309546113014221, ...
<p>The holiday season has given me the opportunity to curl up next to the fire with <em>The Elements of Statistical Learning</em>. Coming from a (frequentist) econometrics perspective, I'm having trouble grasping the uses of shrinkage methods like ridge regression, lasso, and least angle regression (LAR). Typically, I'...
g39142
[ 0.05494257062673569, -0.024586733430624008, -0.0016505109379068017, -0.04069553315639496, 0.03532114997506142, -0.02650371566414833, 0.029182134196162224, -0.007786957081407309, 0.012379961088299751, -0.008749902248382568, 0.0024449529591947794, -0.047575607895851135, 0.1110052838921547, 0...
<p>Julian Faraway, in his book on linear model with R, used half normal plot to find hat(a value in hat matrix) with too large value.</p> <p>That's the only example where I saw half normal distribution is used. But other than that, I can't come up with real application of it though I guess it might be useful for appro...
g20012
[ -0.008742161095142365, -0.025245975703001022, -0.003671961138024926, -0.046486303210258484, -0.07985303550958633, -0.032137926667928696, 0.07532382756471634, -0.0287154670804739, -0.023583699017763138, -0.0347738116979599, -0.004489491228014231, 0.0017449717270210385, 0.06335675716400146, ...
<p>I have a large $(10000 \times 5001)$ table representing $10000$ samples and $5001$ different features of these samples. One of these features represents an output variable of each sample. In other words, I have $5000$ input variables and one output variable for each sample.</p> <p>I know that most of these inputs a...
g49653
[ -0.0034784136805683374, -0.031583383679389954, -0.010926011949777603, -0.038473598659038544, -0.06347065418958664, -0.11775489151477814, 0.019382767379283905, 0.01659640297293663, -0.04424651339650154, 0.04138755425810814, 0.010922113433480263, 0.06073624640703201, 0.00791081041097641, 0.0...
<p>I have 4 models in the hierarchical regression output. The models are as follows: Model 1: Control variable Model 2: Control variable and 11 independent variables. Model 3: Control variable, 11 independent variables and moderator. Model 4: Control variable, 11 independent variables, moderator and interaction terms.<...
g20017
[ 0.015912022441625595, -0.020050516352057457, -0.000852548866532743, -0.016741761937737465, 0.029573719948530197, -0.01013238076120615, 0.03715294599533081, 0.04535495489835739, -0.024668818339705467, -0.03163742646574974, -0.028343772515654564, 0.019364316016435623, -0.01910708285868168, -...
<p>I have a 2D square, and I have a set of points inside it, say, 1000 points. I need a way to see if the distribution of points inside the square are spread out (or more or less uniformly distributed) or are they tending to gather together in some spot inside the square.</p> <p>I need a mathematical/statistical (not ...
g62779
[ 0.03696450591087341, -0.05171045660972595, -0.0023010256700217724, -0.05658983066678047, -0.007200295105576515, -0.017535308375954628, 0.03304065763950348, 0.016564322635531425, -0.024544771760702133, 0.0002258547901874408, 0.008464219979941845, 0.016577837988734245, 0.0638759508728981, 0....
<p>I am attempting to use a Naive Bayes classifier to classify text. To accomplish this I have created an Excel sheet with a binary distribution for three variables. The workbook can be found <a href="https://dl.dropbox.com/u/9568360/Naive%20Bayes%20Classification.xlsx" rel="nofollow">here</a>. Assuming that my math is...
g62780
[ -0.01717243529856205, 0.006248855963349342, 0.024391859769821167, -0.0546722412109375, 0.000184448785148561, -0.01367892138659954, -0.004061850719153881, 0.029420645907521248, -0.07196776568889618, -0.05867042765021324, 0.008484897203743458, 0.001659971079789102, 0.04824201390147209, 0.046...
<p>I have a design where a number of object pairs were rated for association strength. These pairwise association ratings along 5 criteria of interest are expected to be used as IVs in a regression. </p> <p>These pairs include a target object being paired with one of 4 accompanying objects to create the different type...
g20021
[ -0.005269397981464863, 0.0005617756396532059, -0.0004206172889098525, 0.0010354823898524046, 0.00470986682921648, -0.03620700538158417, -0.006153516471385956, 0.04380636662244797, 0.021268757060170174, -0.04250160977244377, 0.007246140390634537, -0.043035950511693954, -0.03178594261407852, ...
<p>I have this data </p> <pre><code>data &lt;- as.data.frame(cbind(y,x1,x2,pre)) data$x1 &lt;- as.factor(data$x1) data$x2 &lt;- as.factor(data$x2) data$x1 &lt;- C(data$x1, contr.treatment, base=3) data$x2 &lt;- C(data$x2, contr.treatment, base=2) y x1 x2 pre 1 16 1 1 14 2 15 1 1 13 3 14 1 2 14 4 13 1 ...
g62781
[ 0.0012870298232883215, -0.03348527103662491, 0.003233647206798196, -0.034994032233953476, 0.07943878322839737, -0.048956144601106644, 0.04078059643507004, -0.005431081168353558, -0.026689494028687477, -0.019523892551660538, -0.04259681701660156, 0.08475198596715927, 0.05996861308813095, 0....
<p>This is for modeling revenue by looking at historical data. </p> <p>I am trying to estimate a curve where $x$ = Fiscal Year Quarter and $Y$ = % of Revenue for lifetime of a bid(sale/opportunity/whatever term makes the most sense to you...)</p> <p>The goal of this is so when a sales person puts in a bid that says "...
g62782
[ 0.011375825852155685, -0.03124718926846981, -0.014339933171868324, -0.005235026124864817, -0.05471495911478996, -0.021663637831807137, 0.02565794065594673, -0.015252512879669666, 0.0010777409188449383, 0.022029422223567963, 0.029972808435559273, 0.0010559124639257789, -0.004668067209422588, ...
<p>I have cross classified data in a 2 x 2 x 6 table. Let's call the dimensions <code>response</code>, <code>A</code> and <code>B</code>. I fit a logistic regression to the data with the model <code>response ~ A * B</code>. An analysis of deviance of that model says that both terms and their interaction are significant...
g62783
[ 0.041754305362701416, 0.002933736890554428, -0.007585440296679735, -0.028943073004484177, 0.05905066430568695, -0.05355299636721611, 0.054836809635162354, 0.033916641026735306, -0.00272560422308743, 0.028010066598653793, 0.007047077175229788, 0.019019221886992455, 0.023831907659769058, 0.0...
<p>I have data for about 1 year, 100 observations, multiple observations per subject, transactions occur on weekly basis but have 6-12 subjects per week, there is no order to this. There is a policy change in latter half of year, I want to model change in dependent variable due to policy change as a dummy variable: tim...
g62784
[ -0.009185319766402245, 0.028315693140029907, -0.02151326648890972, -0.04791651666164398, -0.04755458980798721, -0.052909452468156815, 0.015301031060516834, -0.03242308646440506, 0.005031544249504805, -0.017489008605480194, 0.0007513169548474252, 0.035062216222286224, 0.022356580942869186, ...
<p>Why is the average of the highest value from 100 draws from a normal distribution different from the 98% percentile of the normal distribution? It seems that by definition that they should be the same. But...</p> <p>Code in R:</p> <pre><code>NSIM &lt;- 10000 x &lt;- rep(NA,NSIM) for (i in 1:NSIM) { x[i] &lt;...
g62785
[ 0.004205432254821062, -0.0038545846473425627, -0.021636681631207466, -0.013499368913471699, 0.020331647247076035, -0.0023922533728182316, -0.022780131548643112, 0.030976176261901855, -0.02062649466097355, -0.00139838014729321, 0.006713913753628731, -0.011285549029707909, 0.0746704488992691, ...
<p>I have bought a book on factor analysis (on PCA more precisely) because it seems to be the algorithm that fits the most to mine my data.</p> <p>Here is the context: I have a table of "subject x variables", each line is a subject (there are numerous subjects) and each column is a variable (here it is network variabl...
g34547
[ 0.02374199964106083, 0.017532695084810257, -0.009702070616185665, -0.0746116042137146, 0.008543986827135086, -0.05979355797171593, 0.033265117555856705, -0.011521111242473125, -0.0325959287583828, -0.012213055975735188, 0.06414557248353958, -0.012827515602111816, 0.0179306510835886, 0.0077...
<p>According to Davison and Hinkley's book "Bootstrap Methods and their Application", page 154, based on an <code>RxN</code> array where <code>R=999</code> is the number of simulations and <code>N</code> is the number of ordered samples (smallest to largest) in each row, we could construct:</p> <ol> <li><strong>pointw...
g62786
[ -0.013112655840814114, -0.04712839797139168, -0.009083835408091545, 0.012568164616823196, 0.04912929609417915, -0.03886350989341736, 0.031316209584474564, -0.012550806626677513, -0.012275956571102142, -0.025497663766145706, 0.001144119189120829, 0.01870352029800415, 0.08067576587200165, 0....
<p>I'm using the following function to calculate Edwards R^2 (formula 19 in Edwards et al. 2008) of a mixed effects model (I hope the implementation is correct):</p> <pre><code>r2lmer &lt;- function(model) { require(aod) # need the aod package for wald.test function if (class(model) != "mer") stop("mer object ex...
g62787
[ -0.027358917519450188, -0.08266200125217438, -0.003743895795196295, -0.02425404265522957, 0.019346246495842934, 0.0032595463562756777, 0.056385401636362076, 0.018206750974059105, -0.03472338244318962, -0.0010487689869478345, -0.01043179165571928, 0.056103866547346115, 0.031939852982759476, ...
<p>Consider the following model</p> <p>$$ X \sim |\mathcal{N}(X;0,1)| $$ $$ Y|X \sim Q(Y;X) $$ where I define $Q(Y=-x|X=x)$ with probability mass $\int_{-\infty}^{-x}\mathcal{N}(x;0,1)dx$, $Q(Y=+x|X=x)$ with probability mass $1-\int_{x}^{\infty}\mathcal{N}(x;0,1)dx$, and the density of $Q(Y|X=x)$ equivalent to a t...
g20030
[ -0.04290851205587387, -0.02499639429152012, -0.038885463029146194, -0.025473617017269135, 0.006770537234842777, 0.02078894153237343, -0.018701301887631416, -0.024692121893167496, -0.027140071615576744, 0.009083394892513752, -0.011580911464989185, 0.009000164456665516, 0.013068861328065395, ...
<p>I have two sets of coefficients from similar data taken at different times. What I want to do is combine the two sets of coefficients giving greater weight to the more most recent set.</p> <p>The goal is building a predictive model. So say I have dataset A from 2009, and dataset B from 2010.</p> <p>My coefficien...
g5663
[ 0.0019176304340362549, -0.036472711712121964, 0.0018979597371071577, 0.0191036369651556, 0.058505479246377945, -0.011572831310331821, -0.010164640843868256, -0.0008426965214312077, -0.08367235213518143, 0.009296963922679424, -0.019699161872267723, 0.021376024931669235, 0.047151483595371246, ...
<p>A Poisson regression is a <a href="http://en.wikipedia.org/wiki/Generalized_linear_model">GLM</a> with a log-link function.</p> <p>An alternative way to model non-normally distributed count data is to preprocess by taking the log (or rather, log(1+count) to handle 0's). If you do a least-squares regression on log-...
g49577
[ 0.004713523201644421, 0.005627259612083435, -0.011380229145288467, -0.06535658985376358, 0.008989152498543262, -0.037596799433231354, 0.02934427559375763, 0.011076366528868675, -0.0032276923302561045, -0.07305518537759781, -0.03436785563826561, -0.01751355454325676, -0.004816764499992132, ...
<p>car packages's <a href="http://finzi.psych.upenn.edu/R/library/car/html/Ellipses.html" rel="nofollow">ellipse function</a> asks for a <code>radius</code> parameter. In help says that is the "radius of circle generating the ellipse". Could you please tell me which circle is this?</p> <p>Thank you very much</p>
g62788
[ 0.03382021561264992, -0.01026052888482809, -0.003142593428492546, -0.03234676644206047, 0.050738874822854996, -0.029866544529795647, 0.03248012065887451, 0.006928644143044949, -0.021149886772036552, 0.0469900406897068, -0.045598406344652176, 0.01946692354977131, 0.024082135409116745, -0.02...
<p>I would like to generate datasets which has 3 treatment groups: A, B, and C based on 3 covariates: $x_{1}$, $x_{2}$ and $x_{3}$. The $x_{1}$ and $x_{2}$ are standard normally distributed and $x_{3}$ is Bernoulli (0.5) distributed. Besides these, assume risk difference between A &amp; B = -0.36, A &amp; C = -0.26 and...
g20033
[ 0.03354385122656822, -0.05149451643228531, -0.020940901711583138, -0.044909920543432236, 0.011204680427908897, -0.0003541616315487772, 0.009744379669427872, 0.028551258146762848, -0.058291517198085785, -0.016160231083631516, 0.013842679560184479, 0.027621757239103317, -0.03929277881979942, ...
<p>I am designing a study for my project. I wanted to test if music affects reading comprehension. This study will be a between group design. The independent variable is type of music and the dependent variable is the score on a reading comprehension task. </p> <p>Half of participants will be randomly assigned to a r...
g49914
[ -0.03230569511651993, 0.047530677169561386, -0.004251090344041586, -0.06900777667760849, -0.028087928891181946, -0.0031887236982584, 0.024475878104567528, 0.022695692256093025, -0.0493432842195034, 0.04178493097424507, 0.045880772173404694, -0.005402357317507267, -0.0443522110581398, 0.037...
<p>I heard from an university course that a normal method for turning categoric variables into binary variables was to simply create a binary variable for each category (one-out-of-K coding). However, these variables should be standardized so the weight of the original variable remains unchanged.</p> <p>How should the...
g62789
[ -0.020650474354624748, -0.017463214695453644, -0.009028268046677113, -0.024330027401447296, 0.0080484664067626, -0.0009316118666902184, -0.04673377797007561, 0.0686338022351265, -0.060318924486637115, -0.0041228728368878365, 0.034875527024269104, 0.014568214304745197, 0.045425012707710266, ...
<p>How can I show that, $U$ and $V$, two independent uniform $(-1,1)$ random variables have a conditional distribution, given that $U^2 + V^2 &lt;1$, that takes the form:</p> <p>$$f_{U,V|U^2+V^2&lt;1} (u,v|w&lt;1) =1/{\pi}, \quad u^2+v^2&lt;1$$</p> <p>I tried using the CDF technique for $W=U^2+V^2$</p> <p>$$ \frac{P...
g62790
[ 0.008816384710371494, -0.0066355150192976, -0.03651765361428261, -0.03791719302535057, -0.0077940127812325954, -0.00022431014804169536, -0.007638849783688784, 0.0038354266434907913, -0.023055249825119972, -0.04747749865055084, -0.05222311243414879, 0.04021652787923813, -0.0007989790756255388...
<p>I will soon have the results of a questionnaire that I have carried out, and I have made a plan on how I will analyse the data. I was hoping that someone could comment on my plan to advise me.</p> <p>About the questionnaire: there are 3 groups of people (let's call them <code>A</code>, <code>B</code>, and <code>C</...
g20039
[ -0.015516174025833607, -0.04516332224011421, -0.021954180672764778, -0.030508071184158325, -0.029892878606915474, -0.0067965625785291195, -0.008151491172611713, 0.00342374574393034, -0.004222255665808916, -0.01814877614378929, 0.02574777975678444, 0.02913624420762062, 0.06777636706829071, ...
<p>Im trying to measure the absolute change between two means of systolic bloodpressure, and used a simple method for calculating the confidence interval between to means. </p> <p>My goal is to estimate the absolute change for the TREND between 1980-2000. So to accomplish this im comparing the first and last year (i.e...
g62791
[ 0.04940930753946304, -0.02945682965219021, -0.03495950251817703, 0.013009577058255672, -0.00971317384392023, 0.036546740680933, -0.011445176787674427, 0.008332503959536552, -0.0718701183795929, -0.011858910322189331, 0.02078707329928875, 0.0880037397146225, 0.06171427667140961, 0.017791943...
<p>Would someone please tell me what an F test is and what is shows? Also what is an alpha? And how do I evaluate the p values? I posted two questions earlier and one was 'put on hold' because it was not in the right place, and the second one was marked as a duplicate because of the one put on hold. Neither of which an...
g34551
[ -0.008180366829037666, 0.0020648024510592222, 0.0010309811914339662, -0.03773931413888931, 0.06825421005487442, 0.0068753729574382305, 0.008340442553162575, 0.0035274196416139603, -0.01915765181183815, -0.06758899241685867, -0.023181475698947906, -0.015020378865301609, -0.042077939957380295,...
<p>i have a list of text files and i know that these texts belong to a group, by using this group of text files (i.e this is my sample set) i'd like to calculate <a href="http://en.wikipedia.org/wiki/Jaccard_index" rel="nofollow">Jaccard index</a> and <a href="http://en.wikipedia.org/wiki/Edit_distance" rel="nofollow">...
g6055
[ -0.02099600061774254, -0.02245977520942688, -0.00864600483328104, -0.0950145348906517, 0.011090611107647419, -0.04203648120164871, 0.007743717171251774, 0.07429838180541992, -0.09260300546884537, 0.010812952183187008, -0.014101040549576283, 0.041420016437768936, 0.038960061967372894, 0.011...
<p>I've been learning (lurking) from this site for a while and I finally have a question I haven't seen answered yet.</p> <p>I'm doing a flight test and trying to fit the resulting data to linear line. From a combination of ~14 different sensors, I can calculate the 2 values of interest. From uncertainty propagation, ...
g62792
[ 0.044191136956214905, -0.037174347788095474, -0.01382493320852518, 0.0352775976061821, 0.03631822392344475, -0.004276488441973925, -0.007859730161726475, -0.009154708124697208, -0.05876772105693817, -0.02111136168241501, -0.0009559185709804296, 0.016968805342912674, 0.020677588880062103, -...
<p>From what I understood, these models differ from CARTs for regression, mostly because they fit a linear model at the leaves of the tree instead of simply taking an average. They also "smooth" the tree by generating linear models in the intermediate steps of the tree growth process.</p> <p>I have been using the R im...
g44013
[ 0.008411566726863384, -0.07186028361320496, -0.002018298953771591, -0.005331698339432478, -0.006492640357464552, -0.06982192397117615, 0.04410359635949135, -0.01907634735107422, -0.009827984496951103, -0.0002000212698476389, 0.0066983955912292, -0.03307116776704788, 0.06367895752191544, 0....
<p>I am building a binary logistic regression model. I am not sure if using the variables as interactions is a better choice than building separate models for level of a categorical variable. Is there a way to determine this? For ex, there are 2 categorical variable with 2 levels each - 1.Regions - East and West 2.AG...
g62793
[ -0.024050742387771606, 0.017804337665438652, 0.016040397807955742, 0.002629804890602827, 0.061059027910232544, -0.008661880157887936, 0.02022740989923477, -0.01617833413183689, -0.03598436340689659, -0.029611563310027122, 0.0008572146762162447, 0.01751607283949852, 0.062986359000206, 0.044...
<p>I was reading this <a href="http://www.nada.kth.se/kurser/kth/2d5342/kurspaket/aykroyd96bayesian.pdf" rel="nofollow">paper</a> related to Gaussian Markov Random field. I didn't get how they derived this equation from the standard multivariate gaussian distribution equation</p> <p><img src="http://i.stack.imgur.com/...
g62794
[ 0.027509473264217377, -0.044114723801612854, -0.02695314772427082, -0.03592187538743019, -0.0040092733688652515, 0.02567031979560852, 0.018099796026945114, -0.007893586531281471, 0.030307823792099953, -0.04053035378456116, -0.04663397744297981, 0.028204264119267464, 0.05470895767211914, -0...
<p>I used mvpart to produce a classification tree (response variables concerning travel behaviour, explain variables are socio-demographic). In the output I can see the averages of the travel behaviour variables for the different segments formed by the tree. Is there a way to test if these differences are statistical s...
g20043
[ -0.037738509476184845, -0.01971079222857952, -0.013057234697043896, -0.05233364179730415, -0.05178069323301315, -0.07250744849443436, -0.007845144718885422, -0.00928561482578516, -0.009825528599321842, 0.028444388881325722, 0.02941831201314926, 0.035519734025001526, 0.05728201940655708, 0....
<p>For a university course, a friend of mine had to test whether there is a relation between two ordinal variables. These variables were opinion about the European Union (positive, neutral, negative) and whether people felt being (a) citizen of their country, (b) primarily citizen of their country, but also European, (...
g614
[ 0.025796879082918167, -0.049717579036951065, -0.008948619477450848, -0.06990570574998856, 0.025780903175473213, 0.002797962399199605, 0.014835314825177193, 0.010361742228269577, 0.019522609189152718, 0.015187541022896767, 0.04024406895041466, 0.055142659693956375, 0.008647194132208824, 0.0...
<p>I'm trying to specify a model in JAGS/rjags with one between subjects factor (<strong>a</strong>, with two levels - <em>Y</em>, <em>N</em>) interacting with one repeated measures continuous variable <strong>x</strong> plus subject varying slopes and intercepts that correlate. I can specify this model simply enough w...
g20046
[ -0.011493292637169361, -0.06000475212931633, -0.007789903786033392, -0.0392417311668396, -0.00928922276943922, -0.00881884340196848, 0.06173265725374222, -0.03712768107652664, -0.042324960231781006, -0.022396041080355644, -0.013855071738362312, -0.02264394611120224, 0.04122639819979668, 0....
<p>I'm experimenting with random forests with scikit-learn and I'm getting great results of my training set, but relatively poor results on my test set...</p> <p>Here is the problem (inspired from poker) which I'm trying to solve: Given player A's hole cards, player B's hole cards and a flop (3 cards), which player ha...
g62795
[ -0.039944641292095184, 0.004131864756345749, 0.03398938104510307, -0.027906248345971107, -0.0050200955010950565, -0.060677409172058105, 0.011407575570046902, 0.0035804123617708683, -0.023060064762830734, -0.006514430977404118, 0.0331314317882061, 0.03358510136604309, -0.027912436053156853, ...
<p><strong>Is it possible to generate means and standard deviation for two groups from a Cohen's d effect size?</strong></p> <p>Even if the means and standard deviations are trivial/meaningless values, I would like to keep the same effect size.</p> <p>The formula for Cohen's d is as follows:</p> <pre><code>d = (mean...
g62796
[ -0.03180764243006706, 0.011920480988919735, -0.018705401569604874, -0.07574708014726639, -0.02992868795990944, 0.0027380515821278095, -0.03917121887207031, 0.027663005515933037, -0.04302909970283508, -0.07438786327838898, 0.016917921602725983, 0.006823600269854069, 0.049730122089385986, 0....
<p>I am looking at following books:</p> <ul> <li>Statistical Models (Cambridge Series in Statistical and Probabilistic Mathematics) - A. C. Davison</li> <li>Essentials of Statistical Inference (Cambridge Series in Statistical and Probabilistic Mathematics) - G. A. Young</li> <li>Asymptotic Statistics (Cambridge Series...
g62797
[ 0.05369293689727783, 0.005237365607172251, 0.012147953733801842, -0.027890222147107124, -0.012315616942942142, 0.032318972051143646, 0.0025790887884795666, -0.022496964782476425, -0.01582038402557373, 0.02497291751205921, 0.041136160492897034, -0.02933489717543125, 0.08373838663101196, -0....
<p>I'm going to teach classes on Physics Laboratory on First year of Bachelor studies. In most of the excercises during data analysis students will have to fit a line to measurements they have taken. </p> <p>I need formulas that fit data to the model:</p> <p>$$ y_i = Ax_i + B + \epsilon_i $$</p> <p>Where $\ep...
g62798
[ 0.0018606088124215603, 0.0021408447064459324, -0.020911894738674164, 0.0022909233812242746, 0.005392912775278091, 0.01377782691270113, 0.05229872837662697, -0.024452954530715942, -0.06745042651891708, 0.012086071074008942, 0.0013342984020709991, 0.03317528963088989, 0.04358678311109543, -0...
<p>Consider the following question.</p> <blockquote> <p>Consider the generation of random numbers following an exponential distribution with some known mean. Give three reasons why the rejection-acceptance method would not be the preferred approach for generating random numbers for this distribution. What is the pre...
g62799
[ 0.0526006743311882, 0.0258229598402977, 0.02243025228381157, -0.06787571310997009, -0.05678974837064743, 0.04074195772409439, 0.01622302271425724, 0.05599788948893547, -0.02960895746946335, -0.008169219829142094, -0.010051777586340904, -0.013314181938767433, 0.0598391517996788, 0.070440359...
<p>I know what the term "posterior distribution" means (namely the conditional probability distribution of some parameter with respect to some observed data), but I'm reading an author that uses the qualifier "posterior" <em>all over the place</em>, mostly in contexts that I can't make any sense of.</p> <p>For example...
g20056
[ 0.044793713837862015, -0.044380657374858856, -0.018902093172073364, -0.08451934158802032, 0.007408274337649345, 0.014718354679644108, -0.013504435308277607, 0.03589018061757088, 0.031101806089282036, -0.055802300572395325, 0.030201120302081108, 0.011576781049370766, 0.02858310379087925, -0...
<p>I have a set of laws/policies that overlap with each other through time (for example one started in 1990 and finished in 2001, and the other started in 1995 and finished in 1999). I want to examine how the interaction of those two influence my dependent variable. I am using spss, and I was thinking to set the indepe...
g20054
[ 0.03153060004115105, -0.00979200191795826, -0.010011713020503521, -0.0360853336751461, -0.048791565001010895, 0.03288620337843895, 0.03595240041613579, 0.0038507827557623386, -0.025202281773090363, -0.0075610424391925335, 0.029001016169786453, 0.011631172150373459, 0.021706826984882355, 0....
<p>I need help in calculating the goodness of fit for a Poisson model. The online literature on it is quite scarce, so if you have any useful articles and links I would appreciate it very much.</p> <p>Here is how the table looks like from SPSS. The outcome variable is a count of patents a company has.</p> <p><img src...
g62800
[ 0.03202805295586586, 0.012945516034960747, -0.00357347191311419, -0.05573930963873863, -0.00791846215724945, -0.03477556258440018, -0.026647599413990974, 0.04465232044458389, -0.007010303903371096, 0.005553116090595722, -0.017913946881890297, 0.014551590196788311, 0.008585303090512753, -0....
<p>I am looking for help in the following situation: </p> <p>I have a set of numbers $A=\{1, 2, \dots, 100\}$, and I am drawing subsets of 10 of these numbers $\{a_1, a_2, \dots, a_{10}\}$ according to an underlying distribution that I do not know. After doing this procedure $N$ times (which can be very large), I woul...
g62801
[ -0.0036889836192131042, 0.059260983020067215, -0.00389615329913795, -0.10386128723621368, 0.003463011933490634, -0.04317155107855797, 0.019932538270950317, 0.020581895485520363, -0.014317292720079422, -0.007052582688629627, -0.0007070121937431395, -0.03504081442952156, 0.07898705452680588, ...
<p>I am trying to do a priori sample size calculation based on published results. However, I am unable to obtain a reasonable estimate of the published effect size (which is not reported) as I am unable to obtain an estimate of the pooled standard deviation or the standard deviation of the difference.</p> <p>The probl...
g20059
[ -0.020153339952230453, -0.006310454104095697, 0.007875336334109306, -0.03603442385792732, -0.05426411330699921, -0.0028966546524316072, 0.012752345763146877, 0.006903134286403656, -0.05099395662546158, -0.05611441656947136, 0.029934588819742203, 0.013051538728177547, 0.0009707597200758755, ...
<p>I've been involved in a machine learning project recently and am now in the process of writing the project up for a paper submission. We used the naive bayes classifier on the project and developed a method for adjusting the classification of datapoints depending on how exactly we want the classifier to perform, ie....
g62802
[ 0.0006848562625236809, -0.012115142308175564, 0.02094661258161068, -0.020565234124660492, 0.004889690317213535, -0.04874737560749054, 0.014966651797294617, 0.09610377252101898, -0.05087229609489441, 0.008980181068181992, -0.006199646275490522, 0.04387633502483368, 0.10321526229381561, 0.07...
<p>Can you tell me some procedures in R, which are able to find differentially expressed genes for a given microarray data?</p> <p>Moreover,If you can give some ideas related to clustering of significant genes for microarray data, it will be quite helpful for me. </p>
g20060
[ 0.037048693746328354, -0.05918314680457115, 0.007884139195084572, -0.014943702146410942, -0.007600579410791397, -0.03842921927571297, 0.01354155596345663, 0.01752314530313015, -0.02115079201757908, -0.003085595089942217, -0.004038822837173939, 0.020947232842445374, 0.04994499683380127, 0.0...
<p>I want to use Lasso or ridge regression for a model with more than 50,000 variables. I want do so using software package in R. How can I estimate the shrinkage parameter ($\lambda$)? </p> <p>Edits:</p> <p>Here is the point I got up to:</p> <pre><code>set.seed (123) Y &lt;- runif (1000) Xv &lt;- sample(c(1,0), siz...
g39210
[ 0.06323162466287613, -0.03636498749256134, -0.0019924852531403303, -0.05279906466603279, 0.02193336747586727, -0.06160470470786095, -0.02787204086780548, 0.031803712248802185, -0.07813896238803864, 0.02231561951339245, -0.04112127423286438, 0.03915225714445114, 0.06743001192808151, 0.03178...
<p>I am carrying out an evaluation for an intervention using secondary data. Unfortunately the design of the study is weak as participants cannot be randomised. I am looking to see whether the intervention has had any impact on patients quality of life? A measure of QoL has been taken before and after the intervention,...
g62803
[ -0.04476261883974075, -0.0020661272574216127, -0.024063026532530785, -0.032395392656326294, 0.003960554488003254, -0.02915278822183609, 0.0061454251408576965, 0.03958909213542938, 0.007760228123515844, 0.0037575617898255587, 0.023649610579013824, 0.04009706899523735, -0.0005748031544499099, ...
<p>Lets assume I have collected some data about sold ice creams on the local market on the daily basis. Days( just a number of observations, might be classified otherwise, it's not variable ) present the day collection of data took place, var1 represents sold ice creams between 09:00-10:00, var2 between 12:00-13:00, an...
g62804
[ -0.010395989753305912, 0.029232364147901535, 0.0035080767702311277, -0.029312988743185997, -0.021183716133236885, -0.026402780786156654, 0.08034247905015945, -0.001446638023480773, -0.010331833735108376, -0.036201074719429016, 0.04574078693985939, 0.0008364346576854587, 0.04444025456905365, ...
<p>I am build a model to predict the risk of having disease X, let say I have a series of variables and I select the variables to be included in multivariate logistic regression model by: i) clinical input and/or ii) p-value&lt;0.25 in univariate regression.</p> <p>I wonder if there will be an issue of collinearity if...
g20066
[ -0.018458658829331398, 0.009247837588191032, 0.015008649788796902, -0.025181494653224945, 0.037256136536598206, 0.0015237766783684492, -0.0019109015120193362, -0.04318580776453018, -0.03899093717336655, 0.016156157478690147, 0.007549911737442017, 0.04776246100664139, 0.024206575006246567, ...
<p>When I do a 2 (tasktype: slogan vs. product) x 2 (novelty: old vs. new) ANOVA, the interaction and the main effects do not seem to be significant. </p> <p>But when I look at the pairwise comparisons, I see that old and new are significantly different from each other both in the slogan and product condition (p`s &lt...
g20069
[ -0.024678144603967667, -0.01791401207447052, 0.0005872074398212135, -0.017530232667922974, 0.0029200201388448477, 0.020549124106764793, 0.03253595158457756, 0.028660694137215614, -0.006069861818104982, -0.0009041048469953239, 0.0025006108917295933, 0.010960607789456844, 0.015051137655973434,...
<p>I am in need of a package that can give me the equation for a linear SVM model. Currently I'm using <a href="http://cran.r-project.org/web/packages/e1071/index.html" rel="nofollow">e1071</a> like so:</p> <pre><code>library(e1071) m = svm(data, labels, type='C', kernel='linear', cost=cost, probability=FALSE, scale=s...
g62805
[ 0.006738009862601757, -0.02700994722545147, 0.0098371971398592, 0.01312711276113987, 0.04397447034716606, -0.03845728188753128, 0.006039557978510857, 0.04595138505101204, -0.05455797538161278, 0.0402863435447216, 0.03608686476945877, 0.010211583226919174, 0.07473303377628326, 0.03897073864...
<p>I have a $10000\times2$ table (see below) where column <strong>A</strong> is made out of <em>observed data</em> and column <strong>B</strong> is the <em>output of a model</em> that I have which should fit the observed data <strong>A</strong>.</p> <p>$n_{A}$ is the total number of points in column <strong>A</strong>...
g62806
[ -0.0029893440660089254, -0.006655725184828043, 0.00729826744645834, -0.0424189567565918, 0.050715237855911255, -0.042300764471292496, 0.03358680382370949, 0.05695514753460884, -0.032575562596321106, -0.008035700768232346, -0.0325528085231781, 0.02725575678050518, 0.02934211678802967, 0.005...
<p>I have a numeric dataset involving 34 input variables and one output variable.</p> <p>I'd like to fit a model to the data so to be able to make predictions (regression problem).</p> <p>So far I've tested <code>MARS (Multivariate Adaptive Regression Spline, earth package), simple random forest (Random Forest, rando...
g62807
[ 0.03749392181634903, -0.019733881577849388, -0.004602866247296333, -0.014577887952327728, -0.05109123885631561, -0.016113419085741043, -0.02638072893023491, 0.011068879626691341, -0.05575655400753021, -0.012415618635714054, 0.031036941334605217, -0.005596908740699291, -0.004018570762127638, ...
<p>As the title goes, does anyone know of a good, up to date book that covers data preprocessing in general and especially outlier detection techniques?</p> <p>The book doesn't need to be focusing exclusively on that, but it should deal with the aforementioned topics exhaustively - I wouldn't be happy with something t...
g39233
[ 0.047170232981443405, -0.0020243593025952578, 0.03683067113161087, -0.037849731743335724, -0.016662953421473503, 0.018740497529506683, 0.034556467086076736, -0.025587862357497215, -0.017827104777097702, 0.015202120877802372, 0.033743079751729965, 0.001816479256376624, 0.038675516843795776, ...
<p>I am working with some survey data that uses probability weights. A number of sources explain that likelihood-based tests and fit statistics like likelihood-ratio, AIC, and BIC <a href="http://www.stata.com/support/faqs/statistics/likelihood-ratio-test/">are not valid in the context of the weighted MLE</a>.</p> <p>...
g10193
[ 0.018885405734181404, -0.0011195777915418148, -0.01012647058814764, -0.03921903669834137, 0.007811031769961119, -0.005248395260423422, -0.00330821773968637, 0.040593840181827545, -0.036263611167669296, -0.018256276845932007, 0.0753217563033104, -0.01638794131577015, 0.11166306585073471, 0....
<p>In a multivariate regression, suppose we want to calculate the metric coefficients from the standardized ones. Is the method (standardized coeffcient times standard deviation of the dependent variable) valid in both OLS and IV or not?</p>
g62808
[ 0.013638801872730255, -0.04294317215681076, -0.003430054523050785, -0.02321235090494156, 0.002482436131685972, -0.010868128389120102, 0.028342068195343018, 0.01869596540927887, -0.02673683874309063, -0.0008718834724277258, -0.0012450311332941055, -0.032432008534669876, 0.07391911000013351, ...
<p>What is the difference between Research Design and Experimental Design?</p> <p>I can't see any difference. Both of them need to establish <em>Causality</em>.</p> <p>Both of them are the arrangement for collection and analysis of data in a manner that aims to achieve the objective in an economical way.</p> <p>Then...
g62809
[ 0.08968482911586761, 0.029723787680268288, -0.004214759916067123, 0.012647448107600212, 0.01873817853629589, 0.00387036451138556, 0.05323641374707222, 0.06200407072901726, -0.0615045465528965, -0.05505407229065895, 0.04779514670372009, -0.030934425070881844, 0.03583022579550743, -0.0055136...
<p>I am paving my way through Roger Nelsen's "An Introduction to Copulas".</p> <p>The book has exercises (quite good actually), but no solutions.</p> <p>Does anybody have a solution manual for (some of those) exercises?</p> <p>Also references to Copula related (intro level) problem sets with solutions would be appre...
g5950
[ 0.00550170848146081, 0.0026756147854030132, 0.031979773193597794, -0.023152954876422882, 0.001599804381839931, -0.009146221913397312, 0.05851038917899132, -0.012654428370296955, 0.0018620804185047746, 0.014568028040230274, -0.07464610040187836, -0.03075144626200199, 0.032621052116155624, 0...
<p>Let's say I have an experiment with two factors <em>A</em> and <em>B</em>, each with a number of different levels. </p> <p>I want participants to </p> <ul> <li>see all levels of factor <em>A</em> exactly $n$ times, </li> <li>never see a level of <em>B</em> twice</li> </ul> <p>How would I generate a test plan that...
g62810
[ -0.037305332720279694, 0.014019074849784374, -0.032581064850091934, -0.05616460368037224, 0.024769579991698265, -0.05362849310040474, 0.012226402759552002, 0.004652937408536673, -0.04398084804415703, 0.00852268561720848, -0.011883996427059174, 0.008575696498155594, -0.019237881526350975, 0...
<p>I want to determine compliance to a certain standard in ISMS and to determine that, I have the standards started and it has sub-questions (say 2,3,4 questions), with each having a 5 point likert type choices. I have a sample of about 32 questionnaires filled. My difficulty now is how to treat or analyse the sub-ques...
g62811
[ 0.004235772415995598, -0.011133386753499508, -0.014086676761507988, -0.03443131223320961, 0.003624641103670001, -0.0033663513604551554, 0.035321954637765884, 0.00678207678720355, -0.0077295927330851555, 0.019770340994000435, 0.0025654041673988104, 0.009634261950850487, 0.028417019173502922, ...
<p>I have a few machines that are used to calibrate each other.</p> <p>Machine 1 has is accurate to 0.025%</p> <p>Machine 1 is used to calibrate Machine 2, which has an accuracy of 0.005%</p> <p>Machine 2 is used to calibrate Machine 3, which has an accuracy of 0.025%</p> <p>Machine 3 is used to calibrate Machine 4...
g20077
[ 0.04648413509130478, -0.03178565949201584, -0.0013242491986602545, -0.0035094537306576967, 0.025160707533359528, -0.026660265401005745, 0.020363323390483856, -0.037170425057411194, -0.06516603380441666, 0.011945342645049095, 0.014314327389001846, 0.054630015045404434, 0.0661175474524498, 0...
<p>The question is probbaly easy, but I don't want to fool myself.</p> <p>If there are three (univariate real) time series $A$, $B$ and $C$ such that $A$ and $B$ both highly correlated with $C$ at some arbitrary lags, does it implies that $A$ and $B$ also highly (<em>near</em> as high) correlated at some lag?</p> <p>...
g62812
[ 0.0888475626707077, 0.003539461176842451, 0.0057656727731227875, -0.019683837890625, 0.059943463653326035, 0.025817736983299255, 0.004835384897887707, 0.011940273456275463, -0.020871516317129135, -0.0013878272147849202, -0.052068080753088, 0.06366042792797089, -0.009138989262282848, -0.028...
<p>I'm wondering if my volatility factor is specified correctly. My data consists of log returns on the S&amp;P 500 index, a measure of news sentiment, and a newscount variable (# of articles published on that day). Now I want to include a volatility variable, and I tried several but will explain my current issue.</p> ...
g62813
[ 0.04498165845870972, -0.07070616632699966, -0.025294551625847816, -0.036301128566265106, -0.00561252748593688, -0.01090454775840044, 0.005193434190005064, 0.04180913418531418, -0.024606643244624138, -0.019467979669570923, 0.009088213555514812, 0.030985737219452858, 0.02129947766661644, -0....
<p>If $X_i$ has a Beta distribution $\beta(1,K)$.</p> <p>What is the best approximation for the distribution of $ S=\sum_{i=1}^N X_i$, when the $X_{i}$ are independent and $N$ is finite.</p> <p>Thanks</p>
g62814
[ 0.014574688859283924, 0.05671294033527374, -0.02440645918250084, 0.009845021180808544, -0.013836529105901718, -0.03107171319425106, -0.05176107957959175, -0.004211758263409138, -0.00865478627383709, -0.014822357334196568, -0.03888499736785889, 0.013012787327170372, -0.03684621676802635, 0....
<p>I want to do clustering of my data in R, using kmeans or hclust (I am a new R user).</p> <p>My data is ordinal, Likert scale, to measure the causes of cost escalation. I have 41 causes "variables" that scaled from 1 to 5 (1: no effect, 5: major effect). I have about 160 observations "who rank the causes".</p> <p>I...
g39042
[ 0.059720806777477264, -0.02448442205786705, -0.020332301035523415, -0.030406910926103592, 0.012138132937252522, -0.042310215532779694, -0.00010416959412395954, 0.015513001941144466, -0.026127874851226807, -0.004128030966967344, 0.00363930594176054, 0.04392905533313751, 0.061807889491319656, ...
<p>For a hypothesis $H_0\equiv p_1=p_2$ (for two Bernoulli distributions), we take a measurement and find that $X_1=i,X_2=j$, and we denote $k=i+j$</p> <p>Now, to test $H_0$, the Fisher-Irwin test tells us to compute $$P_{H_0}(X_1=i|X_1+X_2=k)=\frac{\tbinom{n_1}{i}\tbinom{n_2}{k-i}}{\tbinom{n_1+n_2}{k}}$$</p> <p>As I...
g20081
[ -0.003663193667307496, 0.015186287462711334, -0.011876743286848068, 0.03756292909383774, 0.01152763981372118, -0.026148991659283638, 0.055673692375421524, 0.037478502839803696, -0.02510663866996765, -0.03363468125462532, -0.017441103234887123, 0.027821071445941925, 0.027614006772637367, 0....
<p>How can I plot log likelihood function with type "I" Pareto distribution function $f(x|\alpha,k)=\alpha k^\alpha/x^{\alpha+1}$ in R? The problem for me is there are two parameters, how can I plot the log likelihood with two unknown parameters? Do I need to give a value of $\alpha$ and then plot the log likelihood f...
g20082
[ 0.004596719518303871, 0.0057774754241108894, 0.003261293051764369, 0.020954487845301628, -0.04429624229669571, -0.026076309382915497, 0.009053095243871212, 0.01710454560816288, -0.054070040583610535, 0.0029483865946531296, -0.030027542263269424, 0.008855007588863373, 0.03650153800845146, 0...
<p>What issues, if any, might there be in rotating factors in order to obtain factor/component loadings of binary data? Is it acceptable to rotate the factors when doing a traditional PCA? (Assuming I’m using a polychoric correlation matrix.)</p> <p>I am not a statistician, but an applied educational researcher making...
g20083
[ 0.004512800369411707, -0.015498651191592216, 0.020555047318339348, -0.08910585939884186, 0.017453763633966446, -0.024858642369508743, 0.06866981089115143, 0.0004824338247999549, -0.008708829060196877, -0.009614895097911358, 0.0446745939552784, -0.0003879233554471284, 0.02582644484937191, -...
<p>I am looking to understand the assumptions of using a generalized additive model.</p> <p>1) Are the assumptions the same as the assumptions for each equivalent link function in a generalized linear model - e.g. as linear regression, logistic regression etc. along with the assumption that the additive smooth struct...
g48567
[ 0.0283100213855505, -0.08517050743103027, -0.00597307039424777, -0.027905700728297234, -0.026828108355402946, 0.028071977198123932, 0.05502070486545563, -0.018082277849316597, -0.055192239582538605, 0.005560069810599089, 0.018122104927897453, 0.012116416357457638, 0.005534343421459198, -0....
<p>I'm doing a two sample z-test for the difference between means using pooled variance.</p> <p>Suppose I've run two experiments. In the first experiment, the sample size for the two populations is only 100, and I get a z-value of 5.0. In the second experiment, the sample size for the two populations is one million,...
g37459
[ -0.02797740139067173, 0.0026731814723461866, -0.002977675525471568, -0.018019217997789383, 0.020489772781729698, 0.0039843483828008175, -0.013095719739794731, 0.028422698378562927, -0.025918198749423027, -0.0020639565773308277, 0.028335237875580788, 0.04930829256772995, 0.033230315893888474,...
<p>If two or more variables A, B, C, etc. are jointly mutually independent of one another, does this imply that that they are also conditionally independent given some set of conditioning variables X, Y, Z, etc.?</p> <p>If you test variables A, B, C,, etc., and the hypothesis of independence is not rejected, are you g...
g5984
[ 0.0302826426923275, -0.01278963778167963, 0.03294980898499489, 0.01569252461194992, -0.012198668904602528, -0.0003767443704418838, -0.014534330926835537, 0.05391055345535278, -0.0203857459127903, -0.0072161052376031876, 0.0030085172038525343, 0.011949067004024982, -0.06697513163089752, 0.0...
<p>I am doing an ANCOVA model in order to explain the gap in a given distance. So I have a control group, and I have several quantitative variables, right now I am trying to evaluate the impact of the quantitative variables individually. But I think the results I get are incoherent, lest see:</p> <pre><code> ...
g40336
[ -0.028059804812073708, -0.035126637667417526, 0.0008368502603843808, -0.031013691797852516, 0.009208704344928265, 0.032202187925577164, 0.048384442925453186, 0.045854344964027405, -0.023278111591935158, 0.007392493542283773, 0.005249653477221727, 0.018572667613625526, 0.018727155402302742, ...
<p>I'm trying to generate random variables. I read about <strong>Box-Muller transform</strong> which is a way to generate a pair of normal variables, 2-d normal distrubution. But how do I expand that transform to generate 3-d, 4-d, etc. normal variables with this approach? Or is there a different approach to consider?<...
g62815
[ 0.014416167512536049, 0.01144272182136774, -0.018108675256371498, -0.06652431190013885, -0.06124948337674141, 0.0015455958200618625, -0.029444636777043343, 0.02746199257671833, -0.01608368568122387, -0.060489721596241, 0.01608823984861374, -0.029163924977183342, 0.021686799824237823, -0.00...
<p>In Poker, it is important to judge the likelihood of an opponents action, but for unknown opponents, we have few samples available. One method proposed in <a href="http://www.husng.com/content/interpreting-small-sample-sizes-bayesian-estimators" rel="nofollow">http://www.husng.com/content/interpreting-small-sample-s...
g4
[ 0.011910265311598778, 0.011496034450829029, 0.00034711469197645783, -0.024381425231695175, -0.018733059987425804, -0.050359681248664856, 0.008462014608085155, 0.01972036622464657, -0.049728620797395706, -0.006407121662050486, 0.0016619309317320585, 0.016894342377781868, -0.01636327989399433,...
<h2>Question</h2> <p>Suppose I observe a vector $\mathbf{x}=[X_1 \ldots X_n]$, where each $X_i=m_i+n_i$, with $n_i$ being an independent zero-mean Gaussian random variable with variance $\sigma^2$ (i.e. $n_i\sim\mathcal{N}(0,\sigma^2)$ i.i.d.) and $\mathbf{m}=[m_1 \ldots m_n]$ is an unknown vector with a known Euclide...
g44334
[ 0.004842741880565882, -0.032322026789188385, -0.009750744327902794, -0.04597178101539612, -0.02953210100531578, -0.028628427535295486, 0.03657731041312218, -0.011871262453496456, 0.0014477791264653206, 0.026848196983337402, 0.027040798217058182, 0.03962970897555351, 0.00028465857030823827, ...
<p>I am using the intraclass correlation coefficiant to determine inter-rater reliability for a set of pictures that were rated by several raters on a scale from 1-9. I am using the two-way mixed model in SPSS and am interested in absolute agreement (rather than consistency). This works fine for all items (pictures) ta...
g20091
[ -0.0061660390347242355, -0.03800318390130997, 0.004722116980701685, -0.00009182258509099483, 0.012535938993096352, -0.012041011825203896, 0.04517052322626114, 0.07690055668354034, -0.060500118881464005, -0.015314524993300438, -0.016054756939411163, -0.008908910676836967, 0.02867106907069683,...
<p>I have a data set that has been collected by a set of empirical experiments. Having plotted them on a graph, it seems that the data behavior is linear. On the other hand, some colleagues claim that the data are not linear. How can I show them the confidence level of being linear for my data? In other words, is there...
g20092
[ 0.03318013623356819, 0.017688380554318428, -0.007090605329722166, -0.05525396391749382, 0.013851168565452099, -0.0263906791806221, -0.01493141334503889, -0.021602600812911987, -0.05647705867886543, -0.024967703968286514, 0.06044377386569977, 0.05615975707769394, 0.025245221331715584, -0.00...
<p>I am trying to regress (OLS) some time series on stock returns. I am not interested in regressing the returns of those time series on my stock returns, but I want to include information about the level (the higher the better) of these time series.</p> <p>I read somewhere that the dependent variable has to be statio...
g20094
[ -0.046290889382362366, 0.02292594313621521, -0.03626607358455658, -0.0089500043541193, 0.03045675903558731, -0.005831878632307053, 0.03750067204236984, -0.03169460967183113, -0.015769056975841522, -0.03698383644223213, 0.02300206944346428, 0.05442226678133011, 0.01340373046696186, 0.022158...
<p>I wanted to ask what is the best way to analyze proportion data with repeated measures. I will give a simple example.</p> <p>Let's say you have a binary variable Y, which is a success/failure variable. You take a sample of n people.</p> <p>In normal circumferences, you would count how many success you had out of n...
g62816
[ 0.0350019745528698, -0.04766227677464485, 0.006136265117675066, -0.04460589960217476, -0.02401752397418022, -0.001284903148189187, 0.003867597319185734, -0.017194435000419617, -0.023570861667394638, -0.019593510776758194, 0.0028572797309607267, 0.01001258660107851, 0.0006501870229840279, 0...
<p>was tasked with developing a regression model looking at student enrollment in different programs. This is a very nice, clean data set where the enrollment counts follow a Poisson distribution well. I fit a model in R (using both GLM and Zero Inflated Poisson.) The resulting residuals seemed reasonable.</p> <p>Howe...
g62817
[ 0.027579041197896004, -0.041662558913230896, -0.016413062810897827, -0.03317785635590553, -0.027129393070936203, 0.024330871179699898, 0.009501523338258266, 0.0011127109173685312, -0.009343578480184078, -0.001714071026071906, 0.017453154549002647, 0.009461293928325176, 0.010796225629746914, ...
<p>I am specifically confused as to the meanings of the shaping and scaling parameters of the gamma distribution and how they are used in a real context. Once I find the correct parameters, I have the equations to find everything else I need.</p> <p>The word problem that I am looking at is:</p> <blockquote> <p>Audr...
g62818
[ 0.022482555359601974, 0.0454711876809597, -0.024464696645736694, -0.06622438132762909, 0.04306343197822571, 0.02676762454211712, 0.014149363152682781, 0.005207327660173178, 0.004311948549002409, 0.034711677581071854, -0.015310178510844707, -0.015499191358685493, 0.05000142380595207, 0.0175...
<p>I am attempting to group, for example, strings about programming with other strings about programming, strings about physics with other strings about physics, etc., for a wide range of topics. Despite the glaring theoretical linguistic aspect of the problem, I am looking to actually do this using programming/softwar...
g20102
[ -0.03359866514801979, 0.05457277595996857, 0.007172139827162027, -0.06385836750268936, 0.006170365028083324, -0.03617469221353531, -0.017385631799697876, 0.02302236296236515, 0.0037700564134866, -0.03128499165177345, -0.017511898651719093, -0.012424358166754246, 0.06685525923967361, 0.0436...
<p>On the Wikipedia page for the <a href="https://en.wikipedia.org/wiki/Binomial_distribution" rel="nofollow">Binomial distribution</a>, the following property is mentioned (under the related distribution section): (paraphrased)</p> <p>If $X\sim \text{Bin}(n,p)$ and $Y|X \sim \text{Bin}(X,q)$, then $Y \sim \text{Bin}(...
g62819
[ 0.025429530069231987, 0.019337203353643417, -0.0038344557397067547, -0.0022160580847412348, 0.030334165319800377, -0.021636346355080605, 0.031931232661008835, -0.022641291841864586, 0.0006715573836117983, -0.045973993837833405, -0.007663416676223278, 0.00595365883782506, 0.009062242694199085...
<p>Let me explain my scenario in which I need to calculate absolute error.</p> <p>Lets say the X is the actual value. And X' is the value of X with some error 'e'. So X' = X + e'.</p> <p>Lets say i = 1 to 10000. I have X(i) as well as X'(i). Now I want to know (also want to plot on graph) that How much X' differs fro...
g62820
[ 0.015117147006094456, -0.0029849191196262836, -0.0016655499348416924, -0.021793754771351814, -0.0012175048468634486, -0.019477378576993942, 0.03421388939023018, 0.0137643963098526, -0.040601447224617004, 0.013843825086951256, 0.01685549132525921, 0.05920073390007019, 0.08580653369426727, 0...
<p>Using R, I want to run a linear regression to estimate the abnormal return on days with positive, negative and neutral news (CLASS). I'm a beginner in R, as well as in using regression models! First of all the data structure is as follows. CONTROLVAR just represents all the columns I use as control variables.</p> ...
g62821
[ 0.01622525230050087, -0.04854046553373337, -0.022873610258102417, -0.06514337658882141, 0.043599143624305725, -0.012704538181424141, 0.049378544092178345, 0.006690004840493202, -0.03182081878185272, -0.04722386971116066, 0.03143515810370445, 0.03393397480249405, 0.03893623128533363, 0.0040...
<p>I have a data set consisting of about 100,000 rows and two columns. The values in one column range from 0 to 10^9 the values in the other column range from 0 to 245. I've calculated the covariance between these two values and the result is 5x10^8. I realise this suggests two things:</p> <pre><code>1) There is a cor...
g62822
[ 0.015902049839496613, -0.002313579199835658, 0.0059016053564846516, -0.09643208980560303, 0.03027167171239853, 0.030492285266518593, 0.023459909483790398, 0.010422144085168839, -0.08855949342250824, -0.020954597741365433, -0.002363833598792553, 0.016841167584061623, 0.010042104870080948, -...