instruction stringlengths 9 38.7k |
|---|
I have to calculate a sample size for a study in which patients are treated for a set period of time with a drug. Subsequently, responders are followed up (but not treated) for an additional period of time to see if the symptoms return. The remaining patients (not followed up) are assumed to still be not-responders.
S... |
For each subject in my sample, I need to compute a sensitivity index, d-prime, defined in Signal Detection Theory as
d' = z(HR) - z(FAR)
where HR and FAR are the hit- and false-alarm-rates respectively. I am confused about why and how each of these rates need to be standardised.
These rates are each expressed as a per... |
If the optimal policy is known to be stochastic (e.g. like in the stone, paper, scissors game), can this stochastic policy be found using SARSA or Q-learning, or is it only possible with policy gradient approaches?
|
Currently I am trying to determine whether a sample of monthly returns can be seen as the outcome of a random sample. I plotted the ACF for 20 lags and got the following plot:
I am uncertain by the result. There is very little autocorrelation except for the 5th lag, which is barely significant. Is this single signific... |
I have generated $1.000.000$ repetitions of the experiment of drawing $20$ iid. Bernoulli random variables $X_1, ..., X_{20}$ (20 coins) with bias $1/2$ in R.
I then wish to plot the empirical frequency of observing $1/20 \sum_{i=1}^{20} X_i \geq \alpha$ for $\alpha \in (0.5, 0.55, 0.6, ..., 0.95, 1)$
Can anyone expl... |
Newbie here, so please excuse any faux pas.
I have participants who belong to different groups: A & B. However, a participant can also belong to both groups or to neither. Possibilities are A, B, A+B, or 0.
I would like to test for differences between the groups in a dependent variable. However, I do not know how to tr... |
I am comparing linear regression models.
For the first measure, I compute the aic, adjusted r-squared and standard-error-of-the-regression with the average squared error computed on the validation fold (currently numFolds=10, N=17,000 records) (by training on the remaining folds).
For the second measure, I simply compu... |
The preconditions for a simple mediation analysis according to Hayes (2013) are statistically significant associations between X (the independent variable) and M (the mediator) as well as associations between M and Y (the dependent variable). In the case of a dichotomous independent variable with the values 0 and 1: co... |
I have a dataset for the daily USD/DKK exchange rate for the past 10 years. my training set consists of the first 9 years and my test set consists of the last year.
I am trying to choose between the following to two ARIMA models.
1. arima (1,0,1)
# Arima (1,0,1)
n <- 2332 # length(train_ts)
m <- 259 # AVG numb... |
I've seen similar conclusion from many discussions, that as the minibatch size gets larger the convergence of SGD actually gets harder/worse, for example this paper and this answer. Also I've heard of people using tricks like small learning rates or batch sizes in the early stage to address this difficulty with large b... |
Right above this link here it's mentioned that the matrix of regression coefficients, $(\sum_{XX})^{-1}\sum_{XY}$, corresponds to the coefficients of an OLS solution. But I can't really see it for myself.
|
I have seen this question be touched on tangentially in many posts, but there does not seem to be one distinct place that asks about it directly.
The following statement seems to be true, but I have not found a formal proof anywhere:
$X=Rcos\theta$, $Y=Rsin\theta$ are independent standard uniform random variables if an... |
Firstly I thank anyone willing to read this.
I conducted an experiment using a 2x3 repeated-measures experiment. The idea was to see if reported workload is influenced by mental states. I defined three mental states (focused on the decision to make, thinking about something related to the task and mind wandering) that ... |
I am asking you for help as I am stucked with bootstrapping...
The task is: Use the nonparametric bootstrap to compute bootstrap standard error of CAPM beta estimate based on 1000 bootstrap replications and bootstrap sample size equal to the size of the original sample.
If I understand it correctly, I am supposed to ru... |
Why cant we use negative binomial to calculate the probability of getting a 7th game in best of 7 game series?
P(X=7, r=4) = {7-1 C 4 -1} * (.5)^(7-4) * (.5)^4 = .15 , so there is 15 % chance of 7 trails to get 4 success or 15% chance its a 7 game series.
Another way to look at this would be : Binomial , you need exa... |
I came across this paragraph about logistic regression with PCA in Kevin P Murphy's book on Machine Learning.
If we use PCA first, then use logistic regression afterwards, although
overall, this is still representable as a logistic regression problem,
the problem is constrained since we have forced linear regressi... |
I want to fit a linear regression model to evaluate how the impact of an event on the dependent variable is influenced by the hour, day, and month of occurrence.
My plan of action is to apply one hot encoding to each of these three variables, creating a total of 43 features that will be used to fit the LR model (12 for... |
Let $X_1,\dots, X_n$ denote i.i.d. random variables, with a smooth density $f$ having unique median $m$.
It is known that the sample median $M_n$ of $X_1,\dots, X_n$, $M_n = \operatorname{med}(X_1, \dots, X_n)$, is asymptotically normal with mean $m$ and variance $\frac 1 {4 n f(m)^2}$. (Or phrased more precisely, $Z_n... |
I am currently writing a thesis where I want to do a regression. Now I run into a problem and somehow I dont find any answer to it.
Basicly explained, I have a list of firms and I identified different segments.
Lets say I have 6 segments (Luxury, Upscale, Midscale and so on until Budget).
Now I want to create dummy/bin... |
I am conducting a meta-analysis of risk factors for PTSD. I am extracting r for each risk factor, or if correlations have not been used in the paper I am calculating r from the data given.
In one of the papers the authors have presented mean scores and standard deviations for the ptsd group and non ptsd group on conti... |
How can we use the technique of Lagrange multipliers to find a new
vector of parameters $w$ which solves the optimization problem:
minimize
J(w) = $\frac{1}{2} || w -u ||^2$
such that:
$w^T (x − y) ≥ 1$
Here $u$ is the current vector of parameters and $x$ and $y$ are two
training examples such that $u^T(x-y) < 1$.
... |
I have a volume of brain which contains thousands of connections between hundreds of cells. Suppose I observe that Cell type A connects three times more to Cell type B than Cell type C, and calculate the probability (p-value) of observing this pattern if all of the connections were in fact randomly distributed amongst ... |
I performed assays looking at the toxicity of several insecticides against a insect. To do this, plant leaves were sprayed with insecticides, placed in small cages, and individual insects were exposed to the plant leaves.
I assessed the mortality of the individual insects at two time points: one and four days after th... |
A forecast model (esp. Time Series model) may not be able to self-correct forecast biases primarily because the model does not take any feedback from forecast misses. Are there methods available that can be made to do so?
|
Say I wanted to make a measure of how well a formula ranks a set of contestants in a running race. The inputs to the formula would be factors factors such as height, bodyweight, diet etc.
I had thought that the following would be reasonable. At the end of each race we take the absolute value of the difference between i... |
It's quite intuitive that most neural network topologies/architectures are not identifiable. But what are some well-known results in the field? Are there simple conditions which allow/prevent identifiability? For example,
all networks with nonlinear activation functions and more than one hidden layer are not identifi... |
I am having difficulties with this question. Starting with part a). Given that we know that Beta hat 0 = ybar - beta hat 1*xbar and that beta hat 1 is equal to the covariance/variance I need to reduce it to equal the equation given for ybar 0 in the question but am having difficulties
|
I have worked in R previously but I'm quite new to predictive modeling with Random Forest and Gradient boosting models in R.
I have a dataset with 100 healthy individuals and 50% of the dataset has some degree of heredity for a autoimmune disease called systemic lupus erythematosus (SLE).
In this dataset there are app... |
So I have a very large amount of data, on a 15 minute frequency. I want to reduce dimensionality, so PCA seems like a good choice. However, there's a catch -- I will use monthly data, not 15 minutes. Therefore, I need to convert high frequency data to low frequency. The question is if it makes more sense to do PCA befo... |
im currently looking at a formula for regression estimators, and they say: $Cov(y_i,s_i)/V(s_i)=E(h(s_i)(s_i-E(s_i)))/E(s_i(s_i-E(s_i)))$. This equality is mysterious to me.$ h(s_i)$ is defined as$ E(y_i | s_i = t)$. but how is this a classical variance formula? what about $(y_i-E(y_i))$. I have tried reformulating it ... |
Currently my team is using a logistic regression model with pre-computed feature crosses, to predict a binary outcome. So, given data with columns A and B with values {A1, A2} and {B1, B2}, there is a step of creating new feature AxB: {(A1, B1), (A1, B2), (A2, B1), (A2, B2)} and using that in the LR model.
One colleag... |
$Scientist_1$ seeks to maximize pumpkin size. They suspect that there are 6 key variables, that there are likely interactions between variables, and that there are kinks in the causal model. One research design is to choose a "high", "medium," and "low" value for each (naturally non-negative) variable [water, sunlight,... |
I am trying remember to the name of the statistical paradox / law name that effectively says that optimizing the metric may not lead to the optimal outcome. As far as I can recall, this paradox / law has been used in portfolio management as well as A / B testing.
Also, its not the Yule-Simpson paradox
|
I ran a survey containing a multiple choice question (i.e. you can only select 1 of 5 options; the options are considered nominal variables). This survey was completed by 2 different groups (no repeats). There were 1600 responses from the first group, and 600 responses from the second group.
I would like to show that t... |
I have a binary classification problem (where 1 = broken and 0 = not broken) for machine engines under study. There are 25 continuous features over which I use to make predictions of 1 or 0 using random forest (RF). These 25 features in addition to their class (1 or 0), 25+1 features, can be time phased; meaning I know... |
You are given a logistic regression equation that predicts the probability of having a disease dependent on whether or not three risk factors are present. For any given patient whose chance of disease you want to predict, you are able to find out whether or not they have the first two risk factors, but you have no info... |
Is there a perfect fit solution for linear regression with high dimensional data ?
Let's say we have a label dataset $\mathbb{X}$ with $N$ data points with linear independent feature vectors $\textbf{x}^{(i)} \in \mathbb{R}^d$ and labels $y^{(i)} \in \mathbb{R}$ and $N\leq d$
We fit linear regression $h^{(w)}(\textbf{x... |
I was using Python to do a time series analysis. I observe the following pattern. Since the ACF cuts off at lag 12 and PACF tails off, does this mean I should fit a MA(12) to this series?
Well I actually fitted a MA(12) to the curve and I am getting the following:
Most coefficients are actually insignificant. Besides... |
I'm wondering exactly what the question says: Why does a factor (as linear combination of its items) need to be internally consistent?
If I want to use a factor found in a factor analysis as a dependent variable in some regression and the factor isn't enough internally consistent (e.g. Cronbach's alpha of items compos... |
I need to determine the odds ratio for membership in the Nazi Party for a rural Protestant teacher versus a rural teacher with no religious affiliation in Germany, I am familiar with determining odds ratio from a contingency table, however given that I can't access the data to do this and need to do it from the coeffi... |
I would like to make sure that I'm properly understanding how to interpret the Phillips-Perron Unit Root Tests available in SAS. The best resource that I've been able to find was this page: https://support.sas.com/resources/papers/proceedings15/3294-2015.pdf
Example test results:
Phillips-Perron Unit Root Tests ... |
I am looking for a measure of the amount of spread or variance of a number of points which would work for different numbers of clusters. I am looking for something fast to compute and not necessarily computing the number of clusters or the positions of the centroids. Ideally an algebraic function.
In practice, I need t... |
Suppose $X_{i}|\theta_{i} \sim D_{1}(\theta_{i})$ and $\theta_{i}|\phi \sim D_{2}(\phi)$. Moreover $\phi \sim D_{3}(c)$ where c is known. How would I generate samples for $p(\theta_{i}|\pmb{x})$ if I know samples from $p(\phi|\pmb{x})$?
|
I'm new using the survival package in R. Consider an example provided with the package:
library(survival)
fit <- coxph(Surv(time, status) ~ ph.ecog + age + sex, lung)
If I compute the concordance index, I get:
survConcordance(Surv(time, status) ~ predict(fit, lung), lung)
Call:
survConcordance(formula = Surv(time, st... |
Let $p(m,n|\pmb{X}) \propto f(m,n)$. Now using a metropolis Hasting's algorithm, I need to sample values for $(m,n)$. I plan on using a Bivariate normal distribution as the proposal function. I have the following question
Under which conditions can the off-diagonal terms of the covariance matrix be zero ? $m$ and $n$ ... |
What is the critical differences between Diff-in-diff and regression discontinuity? I understood how those worked but still not clear with the differences. I googled and looked up some papers which used either of them or even both for their analysis but the authors didn't mention why they were using both.
Does anyone ... |
This is the popular Bonferroni inequality. Does it also hold for characteristic functions of random variables, as in when $P(A_i)$ is replaced by the characteristic function $\chi(A_i)$ and so forth?
Given random variables $A_1,A_2...A_n$ (not events like in Theorem 1.2.3), is this satisfied? $$ \sum_{i=1}^n||\chi_{A_... |
An insurance company found that 2.5% of male drivers between the ages of 18 to 25 are involved in serious accidents annually. To simplify the analysis, assume (artificially) the following: 1) every such accident costs the insurance company \$50,000; 2) a driver can only have one of these accidents in a year; 3) the ins... |
In some illustrations of mixture models, the covariance matrix is structured to have varying variances and equal covariances between mixture components.
For example, Pastor et al. (2007) (I'm sorry I can't find a freely-available version of this) write about a model with two mixture components and eight variables, or ... |
We are playing a game in my AP Stats class called Greed. To play the game, everyone stands up and the teacher rolls the dice. If any number other than a 5 is rolled in the first round, 100 points are scored. The students have the choice to bank their points by sitting down (they are not allowed to stand back up and con... |
I've got a linear regression model with 7 explanatory variables that I've put through the boxcox function in r and got a 95% interval for $\lambda$ of approximately (.25, .5). I know this suggests a transformation of y$^{\frac{1}{4}}$ to y$^{\frac{1}{2}}$ so I should be plotting say $\sqrt y$ ~ 7 explanatory variable b... |
Is a "support graph" the same thing as the unweighted graph corresponding to a matrix, if we treat that matrix as if it were a weighted adjacency matrix (with possibly negative weights)?
In particular the graph would be undirected if and only if the corresponding matrix was symmetric?
The term was used repeatedly by a ... |
Does any one know why Permutational Multivariate Analysis of Variance Using Distance Matrices (PERMANOVA) is also called adonis?
See
https://www.r-bloggers.com/adonis-permanova-assumptions
or
http://cc.oulu.fi/~jarioksa/softhelp/vegan/html/adonis.html
|
The response variable in my dataset is a factor with six levels. For each observation, each level has been assigned a probability to be interpreted as the probability that the given observation is classified as that level. Here is a minimum working example with three predictors (X1, X2, X3) where the response factor ha... |
I am a newbie to Data science.I have learned about clustering algorithms(especially K-means algorithm)and I would like to implement this algorithm(using Euclidian distance metric) to segment image on basis of RGB values of the image so that I could find clusters of most similar colours in an image .but I didn't have an... |
I'm a beginner in Reinforcement Learning, and have been learning about Policy Optimization methods like Proximal Policy Optimization and Trust Region Policy Optimization. I had a couple questions about PPO:
Am I correct in my understanding that the surrogate objective is clipped since the surrogate loss is only a loca... |
I am using data from a controlled experiment with different timing of treatment implementation across individuals in the treated group. I can date treated observations with time distance to the implementation dates; However, how can I make a trend plot for control group? In particular, how to date the trend for contr... |
I understand the main idea of the expression of the AIC and BIC however, I do not understand how they work. I have a small data mtcars from R program. When, I calculate the AIC and BIC, I found that the values of them is high (636 and 660), respectively). I wonder how I got this values while my data is very small. So, ... |
In some probability exercises I can red the term "first step conditioning" but I was not able to find any explication on the internet about it. What is it?
|
I am looking for some advice regarding the Mann-Whitney U test. I have a dataset consisting of two indices (Index_1 and Index_2) measured under two conditions (A and B). The sample sizes are small ($n=$5 for each condition).
Condition Index_1 Index_2
A 1.0040242 1.2553715
A 1.3520534 1.74602
A 0.9449538 ... |
Question: Am I correct in assuming that the below statement only makes sense if we're conditioning on realised data?
I'm finding it hard to understand the following statement;
For a simple normal linear model we have;
Let $Y=f(X) = \beta_0 + \beta_1 X + \varepsilon$ and $\varepsilon
> \sim N(0,\sigma^2)$ $\Rightarro... |
I am running a repeated measures anova. Once I get significant p values, I run paired t-tests and I also apply Tukey post hoc.
The fact is that I get lower p values with Tukey than with paired t-tests.
How can it occur, if Tukey is more restrictive than paired t-tests?
Thank you very much
I first started with paired ... |
I have managed to work out how to manually calculate the Schoenfeld residual for a coxPH model and i am getting the same answers as R.
However - i have absolutely no idea how to calculate the Scaled Schoenfeld residuals.
If anyone has the formula for these Scaled Schoenfeld residuals it would be greatly appreciated!
|
I have a large set of panel data (~500 000 observations for about 1000 units) where I suspect both intercepts and coefficients can vary over the units observed. These units have a kind of class system which is why the can be divided into different groups, which can be divided into different subgroups etcetera. I am try... |
I understand that bias (in the context of bias-variance tradeoff) is "the expectation of the difference between the true, and estimated, parameters". However, I would like to understand who is biased and towards what. There are many articles which clearly explain what bias is, but this point is not mentioned.
|
Even after googling and reading fitting articles and answers to fitting questions here on StackExchange, I don't understand how CNNs handle scale invariance.
I found logical sounding answers saying that it is solely done by pooling, others, equally sounding answers said it is a combination of convolution and pooling; n... |
R2 score can be negative.
Then how is R2 square of correlation coefficient?
|
In the R caret documentation for confusionMatrix():
TP
sensitivity = -----------------
TP + FN
TP
detection rate = -----------------
TP + FP + FN + TN
Practically, why would someone want to calculate detection rate? What is it... |
When was the word "bias" coined to mean
$\mathbb{E}[\hat{\theta}-\theta]$?
The reason why I'm thinking about this right now is because I seem to recall Jaynes, in his Probability Theory text, criticizing the use of the word "bias" used to describe this formula, and suggesting an alternative.
From Jaynes' Probabilit... |
Suppose person A is given 25 tasks to complete. For each task, the overall success rate across all people is $p$. Now we don't know $p$ so we estimate it somehow. Let's say we estimate $\hat{p}$ = 0.6 so we would expect an "average" skilled person to complete 60% of the tasks. Person A attempts the 25 tasks and comple... |
Looking on Quora, I have found a spreadsheet template which calculates statistical significance:
In this example, the confidence level is around 95% (P-Value=0.957...) for a difference between the 2 conversion rates of 17.91% (ABS(5.5%-6.7%)/6.7%).
I found another statistical significance calculator from the world's m... |
For some consecutive years I have a number of incidents in a given city. From the scatter plot I deducted that the incidents increase linearly, so I performed a Linear Regression test. The slope is about 30 degrees.
Is there a way to show that this line is increasing in time?
I guess I have to compare the slope of my ... |
Assuming in a d-dimensional space, we have samples from n class.
The best way of separating samples of each class from each other is to have the samples from each class as far as possible from every other class.
If d = n-1, then the solution is obviously a simplex [1] where observations of each class are centered in th... |
Consider the following set, $S$, of infinite sequences:
$$S = (a_n)_{n \in \mathbb{N}} \\\text{where } a_n \in \mathbb{N} \text{ and } a_n \leq nk+1 \text{ with }k\text{ a positive integer}$$
in which all sequences have equal measure.
These sequences are equivalent to rolling a dice infinitely often, where the siz... |
my question is the following: when including squared terms in a linear regression, and possibily interactions of those with other controls, should I expect a specific change in significance of the estimates? For example, should I expect that coefficients are on average less significant because I am trying to estimate m... |
I found empirically a density function that becomes linear when one takes logarithm two times. So, the density function is something of the form
$$\alpha e^{\beta e^{-\gamma x}}.$$
I cannot find out whether it is something well-known or not. Does this distribution appear in any applied context?
|
When I started reading about Kalman filter it thought that it is a special case of ARIMA model (namely ARIMA(0,1,1)). But actually it seems that situation is more complicated. First of all, ARIMA can be used for prediction and Kalman filter is for filtering. But aren't they closely related?
Question:
What is the relat... |
In Poisson point processes, we first let $N$ be a random Poisson random variable, with parameter $\lambda$:
$$
P(N=n)=\frac{e^{-\lambda}\cdot\lambda^n}{n!},\qquad n=0,1,\ldots
$$
Without loss of generality, we let $Y = (Y_1, Y_2, \dots, Y_n,\dots)$ be an i.i.d. sequence (infinite) of standard normal random variables. ... |
Suppose we are working with a real data set , say in R.
What are the approaches/methods for determining underlying structure.
That is,
How can we separate stochastic components vs deterministic?
Can we use state space modelling, and if so, how to best implement in R?
Thank you all for any advice.
|
Consider an outcome variable Y that you want to maximize. To do that you need to choose between two "treatments" A and B.
To find which to choose, you run an experiment that gives as a result that y under A is larger than y under B. The difference, however, is not statistically significant. You conclude that the measu... |
I need some pointers / suggestions ... I like to profile a whole bunch of categorical user data - i.e. things like who talks to who, who deals with what product categories typically, and identify ones that don't follow a norm. An anomaly detection problem perhaps ... but what sort of algos should I be looking at? Shou... |
I´m doing an experiment and I´m not entirely sure if my design is still the Latin Square Design.
I have 2 independent variables:
medium and platform with 3 values each:
medium: FAZ, SZ, OM
platform: Facebook, Print, Online
I will divide my participants in 3 groups based on my first variable medium, so I will have t... |
I am struggling to choose the correct statistical test for my data. I want to know if species richness is statistically different between these three habitats. Im not interested in whether it has changed over time. Only whether, when you take account that it does vary over time, you consider it to be different or not b... |
So, While building a simpel neural net (MLP) for recognizing digits, I ordered my function to print me both the mean cost overall off the train dataset and %currect answers, also over the train dataset (even though the function doing this is called val()). the cost kept going down for an hour and a half, but the %curre... |
Im currently working with some time series data and have ran a number of tests, presuming the need of a VAR or VECM for an optimal forecast.
However, upon going back to basics I noticed that the appropriate univariate models for the variables interested in are ARIMA(1,2,0) and ARIMA(1,1,0).
The reason why this is of in... |
In short, I would like to find the parameters of the skew normal so that given first three moments are matched. Find location, scale and shape of skew normal, so that mean = 0, variance = 1 and skewness = arbitrary value.
I would like to simulate from a skew-normal with the following properties
$E[Y] = 0 \\
E[Y^2] = 1\... |
I fitted an arima(1,0,0) model with covariates to my data set in R.
I have a response variable y and sets of covariates $w,x,z$ and $z^2$ which are continuous. I wish to make forecast using the fitted model. See my steps below:
Steps:
(1) After fitting the final model, i.e arima(1,0,0) with non-zero mean, I used the '... |
In a first course in statistics we are taught that when we do not know the true variance, we can still perform certain basic tests on the sample mean using the sample variance, $S^2$, instead -- provided we can model the sample using normal random variables. This is because the standardization of the mean $\frac{\bar{X... |
Beginner association question here.
I have a dataset (~2.5M rows) with the following data:
UserID | GroupID | Contract | Contract ID | 2YR Fees Paid? | 5YR Paid? | Total Paid
111 XXX Design AAA Y N 1600
222 YYY Install BBB Y ... |
I recently used rpart for an R-decision tree, but am confused on how to read the results....
library(rpart)
library(rpart.plot)
# Read data
train_dt = read.table("lbr-train.csv", sep=",", header=TRUE, stringsAsFactors = FALSE)
# Classification Tree
ctree <- rpart(LOW ~ RACE+SMOKE+PTL+HT+UI+FTV,
data=train_dt,
method ... |
In reinforcement learning, is a policy always deterministic, or is it a probability distribution over actions (from which we sample)? If the policy is deterministic, why is not the value function, which is defined at a given state for a given policy $\pi$ as follows
$$V^{\pi}(s) = E\left[\sum_{t>0} \gamma^{t}r_t|s_0 = ... |
Apropos of a follow-up question to this post, I tried to prove to myself that I understood the notation in the equation for the bias (page 5) in support vector machine SVM (classification, linear kernel), which is
$$b=\frac{1}{N_s}\sum_{s\in S}\left( y_s - \sum_{m\in S} \alpha_m\;y_m\;\mathbf x_m \cdot \mathbf x_s \ri... |
I am working in R with a dataset that produces an error distribution under OLS with minimal skew, but excess kurtosis around 2. After researching the problem on Google for a day I've sorted out that the best approach to performing a regression is to use the Generalized Linear Model with a suitable error model, but I'm... |
I'm reading mostly harmless econometrics, and I'm struggling with the proof of the propensity score theorem, you can find it here on page 60: ftp://nozdr.ru/biblio/kolxo3/G/GL/Angrist%20J.D.,%20Pischke%20J.-S.%20Mostly%20Harmless%20Econometrics%20(PUP,%202008)(ISBN%20069112034X)(O)(290s)GL.pdf
Now, in that proof they c... |
MuMIn::r.squaredGLMM and piecewiseSEM::sem.model.fits should be preforming the same calculations. They are implementing Schielzeth and Nakagawa's R2 for generalized linear mixed effects models. However, I keep getting different results between the two. Does anyone know why? Which is more accurate? Thanks for any input ... |
For such a kernel:
$$K(x, y) = \min(x, y) - xy \text{ over } [0, 1] \times [0, 1].$$
How can I prove that it's positive semi definite? I know how to prove $\min(x, y)$ is PSD but I think $-xy$ is NSD, so can't use the closure property here. Is there a good approach?
|
Before coming to the question, I'd like to mention that I've been reading through some basic articles about machine learning and watched some tutorials on the net. With that said; my knowledge is very limited in the subject.
Most examples I've seen (in code) often has datasets that contains the desired
output of certai... |
I am confused about when to model covariance in a Bayesian regression. Here's what I am trying to model. I have a dataset which has scores for a set of students who did a set of practice exam problems. Each question is from a set of question-type Q. Questions are shuffled so that subsequent questions could come from a ... |
I was looking for a geometrical explanation of degrees of freedom and how they are determined by "the rank of a certain quadratic form", which is the definition my Professor gives but did not prove.
I came across the paper "A Survey of the Theory of Small Samples" by Paul R. Rider in Annals of Mathematics (1930) in w... |
In Poisson regression, I need to compute the deviance, in order to do that I need to compute the log-likelihood function. It seems not difficult because I have the estimated model and my data set I need only to apply the next formulas given in Wikipedia.
\begin{align}L(\theta\mid X, Y) &=\prod_{i=1}^m \frac{e^{y_i\thet... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.