accepted_status listlengths 2 6 | candidate_answers listlengths 2 6 | ground_truth stringclasses 1
value | product stringclasses 1
value | question stringlengths 249 6.52k | record_id stringlengths 38 40 | scores listlengths 2 6 | split stringclasses 1
value | thread dict |
|---|---|---|---|---|---|---|---|---|
[
true,
false
] | [
{
"answer_html": "<p>The scale parameter is routinely analysed in survival models, because the scale parameter is a location parameter for <span class=\"math-container\">$\\log T$</span>. Accelerated-failure models are of the form\n<span class=\"math-container\">$$\\log T_i=x_t\\beta+\\log T_{0i}$$</span>\nwhe... | community signals only; no scientific truth label | ranking | Here is a Weibull proportional hazards model:
$$h(t \mid \mathbf{x}) = h_0(t)\,\exp(\boldsymbol{\beta}^\top \mathbf{x}) = \gamma \lambda\, t^{\gamma - 1} \exp(\boldsymbol{\beta}^\top \mathbf{x})$$
Is statistical inference ever performed on the shape and scale parameters ($\gamma, \lambda $)? For example, do res... | Scientific-Answer-Ranking:stats:676855 | [
8,
4
] | train | {
"accepted_answer_id": 676856,
"answers": [
{
"answer_html": "<p>The scale parameter is routinely analysed in survival models, because the scale parameter is a location parameter for <span class=\"math-container\">$\\log T$</span>. Accelerated-failure models are of the form\n<span class=\"math-container... |
[
false,
false,
false
] | [
{
"answer_html": "<blockquote>\n<p>but that control has already been shown to have reduced growth compared to another genotype where that process is disrupted</p>\n</blockquote>\n<p>A control can have a different baseline than the treated group. But you need to move from t-tests to regressions, eg ANCOVA. A com... | community signals only; no scientific truth label | ranking | I'm contributing to a paper where I am a fairly minor author. I'm concerned by the experimental design but the corresponding authors, who have decade(s) more experience in the field than I have, seem unconcerned and there's the implication that I'm being unnecessarily picky. I'm 95% sure I'm correct, but given their at... | Scientific-Answer-Ranking:stats:676922 | [
0,
3,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<blockquote>\n<p>but that control has already been shown to have reduced growth compared to another genotype where that process is disrupted</p>\n</blockquote>\n<p>A control can have a different baseline than the treated group. But you need to m... |
[
false,
false,
false
] | [
{
"answer_html": "<p>It is important here to not think about effects in a binary manner (as if the statistical message were just that an effect is "significant" vs. "not significant"; in particular, "not significant" doesn't mean that an effect doesn't really exist, it just means t... | community signals only; no scientific truth label | ranking | I am new into statistics so asking a lot of questions (je suis vraiment desoléé).
I fitted a linear mixed-effects model for repeated measurements with treatment, year, baseline value, and treatment × year as fixed effects. The treatment × year interaction was significant (F(8, 481.31) = 2.14, p = 0.031), while the trea... | Scientific-Answer-Ranking:stats:676999 | [
5,
5,
1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>It is important here to not think about effects in a binary manner (as if the statistical message were just that an effect is "significant" vs. "not significant"; in particular, "not significant" doesn't mean tha... |
[
false,
false
] | [
{
"answer_html": "<p>The regression coefficients for variables not in the interaction are main effects, conditional on all the other variables, including the interaction.</p>\n<p>I don't know of a book that states this, but you can either a) Do the math and show it or b) Plug in different values of X, Z, C1, an... | community signals only; no scientific truth label | ranking | Logistic regression:
glm(Y ~ X * Z + C1 + C2, family = binomial)
I know β_X and β_Z are conditional (effect when the other is 0) and shouldn't be read as main effects.
Does this also apply to C1, which isn't in the interaction? Or is exp(β_C1) still the ordinary adjusted OR, with the p value testing the or... | Scientific-Answer-Ranking:stats:677023 | [
0,
5
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>The regression coefficients for variables not in the interaction are main effects, conditional on all the other variables, including the interaction.</p>\n<p>I don't know of a book that states this, but you can either a) Do the math and show ... |
[
false,
false
] | [
{
"answer_html": "<p>Welcome to CV. It's not clear why you think there is multicollinearity. That is a relation among independent variables and has nothing to do with the DV. You've only listed one IV. However, collinearity does not affect prediction very much.</p>\n<p>One problem is surely what @RickHass said:... | community signals only; no scientific truth label | ranking | I am doing a project to understand the predictive viability of different regressors on the dependent variable(NumStorePurchases). In the feature space, we have a feature called Total Purchases- Sum of (NumStorePurchases,WebPurchases,CatalogPurchases) along with other variables Income, Kidhome, Teenhome, Recency, MntWin... | Scientific-Answer-Ranking:stats:677033 | [
3,
1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Welcome to CV. It's not clear why you think there is multicollinearity. That is a relation among independent variables and has nothing to do with the DV. You've only listed one IV. However, collinearity does not affect prediction very much.</... |
[
true,
false
] | [
{
"answer_html": "<p>If you have three items <span class=\"math-container\">$Y_1,Y_2, Y_3$</span> with variance 1 each, say, and <span class=\"math-container\">$Y_2=-Y_1$</span>, <span class=\"math-container\">$Y_3$</span> independent of <span class=\"math-container\">$Y_1, Y_2$</span> so that <span class=\"mat... | community signals only; no scientific truth label | ranking | I'm trying to get my head around how a negative result from Cronbach's alpha is even mathematically possible. When I look at the formula, it's defined entirely in terms of variances of the individual items (the following from wikipedia):
$$
{\displaystyle \alpha ={k \over k-1}\left(1-{\sum _{i=1}^{k}\sigma _{y_{i}}... | Scientific-Answer-Ranking:stats:677066 | [
11,
7
] | train | {
"accepted_answer_id": 677067,
"answers": [
{
"answer_html": "<p>If you have three items <span class=\"math-container\">$Y_1,Y_2, Y_3$</span> with variance 1 each, say, and <span class=\"math-container\">$Y_2=-Y_1$</span>, <span class=\"math-container\">$Y_3$</span> independent of <span class=\"math-cont... |
[
false,
false,
true,
false
] | [
{
"answer_html": "<p>I think that my colleague was right. However, even <a href=\"https://doi.org/10.1007/978-3-030-02914-2\" rel=\"nofollow noreferrer\">Brunner's book</a> does not address this issue, so I wrote the following proof:</p>\n<p><strong>Theorem</strong>: Suppose that <span class=\"math-container\">... | community signals only; no scientific truth label | ranking | Suppose that $X_1$ and $X_2$ are real-valued random variables and $X_i\sim F_i$, i.e., $F_i$ is the CDF of $X_i$. Furthermore, assume the Location shift model:
$$\exists \delta:\forall x:F_2(x)=F_1(x+\delta)$$
Finally, consider the probabilistic index
$$p=P(X_1<X_2)+\frac{1}{2}P(X_1=X_2).$$
Is it true that $\delta = 0$... | Scientific-Answer-Ranking:stats:677071 | [
2,
3,
5,
4
] | train | {
"accepted_answer_id": 677074,
"answers": [
{
"answer_html": "<p>I think that my colleague was right. However, even <a href=\"https://doi.org/10.1007/978-3-030-02914-2\" rel=\"nofollow noreferrer\">Brunner's book</a> does not address this issue, so I wrote the following proof:</p>\n<p><strong>Theorem</st... |
[
false,
false,
false,
false,
false,
false
] | [
{
"answer_html": "<p>Everything is dependent on your second C. Even random things like rolling dice (someone has to roll the dice, if there are no humans, no dice) so that seems a bit overdone.</p>\n<p>I guess you could argue that every pair of variables is only conditionally independent, and just seek conditio... | community signals only; no scientific truth label | ranking | I'm trying to come up with relatable examples to teach the concept of independence/orthogonality of two random variables $A$ and $B$. But my Bayes-Net-rotted brain keeps coming up with scenarios of how the two quantities/RVs could possibly not be independent (usually because of a common factor $C$).
Some ANTI-examp... | Scientific-Answer-Ranking:stats:677110 | [
5,
4,
12,
-1,
1,
0
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Everything is dependent on your second C. Even random things like rolling dice (someone has to roll the dice, if there are no humans, no dice) so that seems a bit overdone.</p>\n<p>I guess you could argue that every pair of variables is only ... |
[
false,
true,
false
] | [
{
"answer_html": "<p>Can you provide a <a href=\"https://reprex.tidyverse.org/\" rel=\"nofollow noreferrer\"><code>{reprex}</code></a>? I'm getting a warning when I run your code</p>\n<pre class=\"lang-r prettyprint-override\"><code>df <- structure(list(PreScore = c(16, 23, 17, 24, 22, 27, 20, 18, 21, \n ... | community signals only; no scientific truth label | ranking | I ran wilcox.test(df$PostScore, df$PreScore, conf.int = TRUE, paired=TRUE, exact = TRUE) on the following data set:
df <- structure(list(PreScore = c(16, 23, 17, 24, 22, 27, 20, 18, 21,
26, 25, 23, 18), PostScore = c(20, 31, 17, 31, 32, 31, 31, 30,
30, 32, 30, 31, 17)), row.names = c(NA, -13L), class = c("tbl_df"... | Scientific-Answer-Ranking:stats:677135 | [
5,
16,
7
] | train | {
"accepted_answer_id": 677139,
"answers": [
{
"answer_html": "<p>Can you provide a <a href=\"https://reprex.tidyverse.org/\" rel=\"nofollow noreferrer\"><code>{reprex}</code></a>? I'm getting a warning when I run your code</p>\n<pre class=\"lang-r prettyprint-override\"><code>df <- structure(list(Pre... |
[
false,
false
] | [
{
"answer_html": "<p>B-splines are designed to be local* (only nearby x-values affect the relevant predictor, and hence the fitted response).</p>\n<p>Consequently the predictor columns will be zero out of the local interval (described in terms of the nearby few knots), and hence for small such intervals will be... | community signals only; no scientific truth label | ranking | I've been studying how splines::bs() builds its basis matrix, and I'm trying to fully understand why the returned matrix has so many zero entries.
The worked example in Ken Koon Wong's blog post "Understanding Basis Spline (B-spline) By Working Through Cox-deBoor Algorithm", reproduced below:
library(splines)
x... | Scientific-Answer-Ranking:stats:677137 | [
10,
6
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>B-splines are designed to be local* (only nearby x-values affect the relevant predictor, and hence the fitted response).</p>\n<p>Consequently the predictor columns will be zero out of the local interval (described in terms of the nearby few k... |
[
false,
false
] | [
{
"answer_html": "<p>Except for the comparison between <code>mod_disp_constant</code> and <code>mod_disp_background</code>, the <em>p</em>-values you show are based on Wald tests, which hold asymptotically in the limit of large numbers of cases. If you have only "a few observers," I'd first worry abou... | community signals only; no scientific truth label | ranking | I need a mixed effects beta regression. I have used glmmTMB with beta distribution, logit link, to assess the relation between hit scores and threshold of a few observers repeated across three backgrounds (a fourth background was used, but it presented the stimuli differently, so I am running a betareg on it instead). ... | Scientific-Answer-Ranking:stats:677147 | [
2,
2
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Except for the comparison between <code>mod_disp_constant</code> and <code>mod_disp_background</code>, the <em>p</em>-values you show are based on Wald tests, which hold asymptotically in the limit of large numbers of cases. If you have only ... |
[
false,
false,
false
] | [
{
"answer_html": "<p>I presume that you are interested in comparing medians of paired data, and that somehow you felt that your data was not “normal enough” to warrant a paired t-test? Hence your choice to use a Wilcoxon-signed-Rank test (WSRt).</p>\n<p>The first issue is that the WSRt is not a test of the medi... | community signals only; no scientific truth label | ranking | We are trying to ensure that we satisfy the assumptions for Wilcoxon. We have the 15 healthy subjects doing basic movements using sensors and markers, with and without compensation i.e. mimicking unhealthy subjects. For example, they do a movement A (shoulder adduction/abduction) with and without any hiking of the sho... | Scientific-Answer-Ranking:stats:677151 | [
2,
4,
4
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>I presume that you are interested in comparing medians of paired data, and that somehow you felt that your data was not “normal enough” to warrant a paired t-test? Hence your choice to use a Wilcoxon-signed-Rank test (WSRt).</p>\n<p>The first... |
[
false,
false,
false
] | [
{
"answer_html": "<p>(i) Yes, I think that you are over-thinking it. If you plot the data with a logarithmic scale for the fluorescence density you will very likely find that the does-response relationship is sufficiently clear that no statistical analysis is going to be needed. If you want to test the hypothes... | community signals only; no scientific truth label | ranking | I have performed experiments where I am looking at how treating a fungus with an antifungal drug alters the binding of antibodies through fluorescent microscopy. I captured 4-6 images per conditions, in biological triplicate reps (and thus my n = 3), and performed single-cell analysis to quantify the fluorescence inten... | Scientific-Answer-Ranking:stats:677168 | [
5,
0,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>(i) Yes, I think that you are over-thinking it. If you plot the data with a logarithmic scale for the fluorescence density you will very likely find that the does-response relationship is sufficiently clear that no statistical analysis is goi... |
[
false,
false
] | [
{
"answer_html": "<p>First: That is much too simple a rule. A better rule of thumb is one regressor for every ten observations, so if you have a really big data set, you could use more variables without overfitting.</p>\n<p>Second, it does matter whether your outcome is categorical. For categorical outcomes, a ... | community signals only; no scientific truth label | ranking | In my intro to biostats classes I was taught that one shouldn’t adjust for more than 10 variables in a regression model because it would overfit the data. However, what if you were working with a dataset that has for instance 50 variables and around 40 of them are variables that you would adjust for, how would you prev... | Scientific-Answer-Ranking:stats:677169 | [
9,
2
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>First: That is much too simple a rule. A better rule of thumb is one regressor for every ten observations, so if you have a really big data set, you could use more variables without overfitting.</p>\n<p>Second, it does matter whether your out... |
[
false,
false,
false
] | [
{
"answer_html": "<p>Some of the comments could be answers, and are good answers. But, if you want completely non-technical, I'd use an example.</p>\n<p>Suppose you go on a diet to lose weight. You weigh yourself every day and get values say (in pounds):</p>\n<p>160 159 160 159 158 157 158 157 156</p>\n<p>Looks... | community signals only; no scientific truth label | ranking | I work in a field (hydrology) where many practitioners (and others) treat time series as though they were a series of random variables - that is, they ignore the structure in the series and have little understanding of why it is important. Of course I know why there is a difference and what the consequences are, but mo... | Scientific-Answer-Ranking:stats:677186 | [
12,
5,
7
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Some of the comments could be answers, and are good answers. But, if you want completely non-technical, I'd use an example.</p>\n<p>Suppose you go on a diet to lose weight. You weigh yourself every day and get values say (in pounds):</p>\n<p>... |
[
false,
true
] | [
{
"answer_html": "<p>First of all, there should be an assortment of threads on this site that can help you with partial / semipartial correlation coefficients vis a vis multiple regression. This might be a good place to start: <a href=\"https://stats.stackexchange.com/a/76819/97844\">https://stats.stackexchange... | community signals only; no scientific truth label | ranking | I am trying to derive (or at least estimate) the correlation coefficient from a paper that only reports the multivariate betas.
For example I have the equation $y \sim b_1x_1 + b_2x_2$. I would like to know the correlation coefficient $r$ between $y$ and $x_1$.
Unfortunately the paper does not report the correl... | Scientific-Answer-Ranking:stats:677193 | [
6,
8
] | train | {
"accepted_answer_id": 677196,
"answers": [
{
"answer_html": "<p>First of all, there should be an assortment of threads on this site that can help you with partial / semipartial correlation coefficients vis a vis multiple regression. This might be a good place to start: <a href=\"https://stats.stackexcha... |
[
false,
false
] | [
{
"answer_html": "<p>If the ratio of the means is not equal to about 100:36, then the ratings are probably not simply different scalings of the same underlying distribution. And if the ratio of means is the same as 100:36, you probably wouldn't be asking, and anyway you still can't be sure of much else. You ne... | community signals only; no scientific truth label | ranking | I am trying to compare the standard deviations of two samples which measure patient satisfaction on different scales. Scale 1 has a potential range from 0 to 100. Scale 2 has a potential range from 0 to 36.
If SD1 = A and SD2 = B, does it make sense to compare them by dividing by the potential range? Ie A / 100 vs ... | Scientific-Answer-Ranking:stats:677194 | [
5,
4
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>If the ratio of the means is not equal to about 100:36, then the ratings are probably not simply different scalings of the same underlying distribution. And if the ratio of means is the same as 100:36, you probably wouldn't be asking, and any... |
[
true,
false
] | [
{
"answer_html": "<p>No you can not estimate the <span class=\"math-container\">$\\theta_i$</span> variance for <span class=\"math-container\">$k = 1$</span>. The relevant concept is the beta-binomial distribution(<a href=\"https://en.wikipedia.org/wiki/Beta-binomial_distribution\" rel=\"nofollow noreferrer\">h... | community signals only; no scientific truth label | ranking | Here is a hierarchical data generating process:
(Population) Layer 1: $$\theta_i \overset{\text{iid}}{\sim} \text{Beta}(\alpha,\ \beta), \qquad i = 1, \dots, n$$
(Individual) Layer 2: $$y_{ij} \mid \theta_i \overset{\text{iid}}{\sim} \text{Bernoulli}(\theta_i), \qquad j = 1, \dots, k$$
There are two ... | Scientific-Answer-Ranking:stats:677226 | [
2,
0
] | train | {
"accepted_answer_id": 677231,
"answers": [
{
"answer_html": "<p>No you can not estimate the <span class=\"math-container\">$\\theta_i$</span> variance for <span class=\"math-container\">$k = 1$</span>. The relevant concept is the beta-binomial distribution(<a href=\"https://en.wikipedia.org/wiki/Beta-bi... |
[
false,
true
] | [
{
"answer_html": "<p>I would not go through mean and variance here. Your model for data generation is based on <span class=\"math-container\">$\\alpha$</span> and <span class=\"math-container\">$\\beta$</span> right? So why not work with them? Your population variable <span class=\"math-container\">$\\theta$</s... | community signals only; no scientific truth label | ranking | Here is a hierarchical data generating process (DGP):
(Population) Layer 1: $$\theta_i \overset{\text{iid}}{\sim} \text{Beta}(\alpha,\ \beta), \qquad i = 1, \dots, n$$
(Individual) Layer 2: $$y_{ij} \mid \theta_i \overset{\text{iid}}{\sim} \text{Bernoulli}(\theta_i), \qquad j = 1, \dots, k$$
$$\mu = ... | Scientific-Answer-Ranking:stats:677266 | [
5,
4
] | train | {
"accepted_answer_id": 677268,
"answers": [
{
"answer_html": "<p>I would not go through mean and variance here. Your model for data generation is based on <span class=\"math-container\">$\\alpha$</span> and <span class=\"math-container\">$\\beta$</span> right? So why not work with them? Your population v... |
[
false,
false
] | [
{
"answer_html": "<p>If the true effects are indeed homogeneous, then you will lose some efficiency by using a random-effects model, because tau^2 will be estimated to be larger than 0 in roughly 50% of the cases (hopefully not by much, but still). Of course, using the model a priori then makes a rather strong ... | community signals only; no scientific truth label | ranking | Reading the texts on this it really starts to feel like the common-effects model is some historical artifact and for some reason it is seen as a baseline that you must mentally argue against. Really to me it is starting to feel like a completely inferior model. I know roughly of the different arguments for and against ... | Scientific-Answer-Ranking:stats:677279 | [
4,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>If the true effects are indeed homogeneous, then you will lose some efficiency by using a random-effects model, because tau^2 will be estimated to be larger than 0 in roughly 50% of the cases (hopefully not by much, but still). Of course, usi... |
[
true,
false
] | [
{
"answer_html": "<p>The problem is two-dimensional because it is posed on a two-dimensional manifold. Software such as deal.II (disclaimer: I'm one of the authors of this software) have no problem with solving PDEs on a manifold, making it essentially the same as if you had a flat domain. The discretization wi... | community signals only; no scientific truth label | ranking | I've meshed the following thin plate with a wavy topography below
[image: enter image description here; source: https://i.sstatic.net/MIJjgTpB.png] (https://i.sstatic.net/MIJjgTpB.png)
Assume the plate has no thickness, it's effectively like a sheet of paper. I want to solve Poisson's Equation
$$\Delta u = ... | Scientific-Answer-Ranking:scicomp:45200 | [
5,
3
] | train | {
"accepted_answer_id": 45203,
"answers": [
{
"answer_html": "<p>The problem is two-dimensional because it is posed on a two-dimensional manifold. Software such as deal.II (disclaimer: I'm one of the authors of this software) have no problem with solving PDEs on a manifold, making it essentially the same ... |
[
false,
false
] | [
{
"answer_html": "<p>As a Krylov method, MINRES searches for the solution in the span of <span class=\"math-container\">$\\{b, Ab, A^2b, \\dots, A^kb\\}$</span>. So, if your vector <span class=\"math-container\">$w$</span> is orthogonal to that span, MINRES effectively won't "see" the exceptional eige... | community signals only; no scientific truth label | ranking | I have a fairly general question, which I don't think depend a lot on my particular application.
Consider a linear system $Ax = b$ that I would like to solve with preconditioned MinRes. Call the preconditioner $P$.
I am currently in the following situation:
the spectrum of the preconditioned system $P^{-... | Scientific-Answer-Ranking:scicomp:45208 | [
8,
4
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>As a Krylov method, MINRES searches for the solution in the span of <span class=\"math-container\">$\\{b, Ab, A^2b, \\dots, A^kb\\}$</span>. So, if your vector <span class=\"math-container\">$w$</span> is orthogonal to that span, MINRES effec... |
[
true,
false
] | [
{
"answer_html": "<p>You are right that many physical phenomena we do computer simulations for are chaotic. There are two aspects that make such simulations meaningful:</p>\n<ul>\n<li><p>Chaotic systems have a time scale over which small perturbations (due to inexactly known initial conditions, or due to numeri... | community signals only; no scientific truth label | ranking | Chaotic systems like weather models are extremely sensitive to initial conditions, and computers can only store finite precision. What algorithms or statistical techniques are used to keep results meaningful when tiny floating-point errors could cause huge divergence over time? | Scientific-Answer-Ranking:scicomp:45247 | [
8,
-1
] | train | {
"accepted_answer_id": 45248,
"answers": [
{
"answer_html": "<p>You are right that many physical phenomena we do computer simulations for are chaotic. There are two aspects that make such simulations meaningful:</p>\n<ul>\n<li><p>Chaotic systems have a time scale over which small perturbations (due to in... |
[
false,
false,
false,
true
] | [
{
"answer_html": "<p>It's probably easier to not expand early and use the chain rule:</p>\n<p><span class=\"math-container\">$$\n\\frac{d}{dt}(m_0 \\gamma(v) v) = F\\\\\nm_0 (\\gamma(v) + \\frac{d\\gamma(v)}{dv}v ) \\frac{dv}{dt} = F\\\\\n\\frac{dv}{dt} = \\frac{F}{m_0 (\\gamma(v) + \\frac{d\\gamma(v)}{dv}v) }... | community signals only; no scientific truth label | ranking | I'm numerically integrating electron trajectories through a combination of static electric and magnetic fields.
The classical equations of motion are trivial, but since kinetic energy may reach 20 keV ($\gamma$ ~ 1.04) I want to include special relativity, at least including the first velocity-dependent term in an ... | Scientific-Answer-Ranking:scicomp:45253 | [
2,
4,
5,
3
] | train | {
"accepted_answer_id": 45259,
"answers": [
{
"answer_html": "<p>It's probably easier to not expand early and use the chain rule:</p>\n<p><span class=\"math-container\">$$\n\\frac{d}{dt}(m_0 \\gamma(v) v) = F\\\\\nm_0 (\\gamma(v) + \\frac{d\\gamma(v)}{dv}v ) \\frac{dv}{dt} = F\\\\\n\\frac{dv}{dt} = \\frac... |
[
true,
false
] | [
{
"answer_html": "<p>Most interior point solvers for LP have an option to switch over to a simplex method. The basic solution provided in this way might meet your requirements, but you won’t have this option if you’re solving more general convex optimization problems.</p>\n<p>There are some methods for SOCP an... | community signals only; no scientific truth label | ranking | Suppose I'm solving a linear program
$$\begin{align}
& \min c^*x \;: \\
& \quad Ax = b, x \ge 0.
\end{align}$$
If I use an interior point method, we introduce a set of Lagrange multipliers $y$ for the equality constraint and slack variables $s \ge 0$ for the inequality constraint.
The KKT conditions include the complem... | Scientific-Answer-Ranking:scicomp:45305 | [
4,
3
] | train | {
"accepted_answer_id": 45308,
"answers": [
{
"answer_html": "<p>Most interior point solvers for LP have an option to switch over to a simplex method. The basic solution provided in this way might meet your requirements, but you won’t have this option if you’re solving more general convex optimization pr... |
[
true,
false,
false
] | [
{
"answer_html": "<p>The NN does not know anything about the qualitative properties of the equations. If these properties are important to you, then you should include them in your loss function.</p>\n<p>This is not part of your question, but I'll comment on it anyway: In general, I am not convinced PINNs are a... | community signals only; no scientific truth label | ranking | I am implementing a Physics-Informed Neural Network (PINN) in PyTorch to solve the 2D acoustic wave equation with a point source. The model trains and converges in terms of loss, and the solution propagates outward from the source, but the resulting wavefronts are not clean circular waves. Instead, they appear distorte... | Scientific-Answer-Ranking:scicomp:45326 | [
10,
3,
2
] | train | {
"accepted_answer_id": 45327,
"answers": [
{
"answer_html": "<p>The NN does not know anything about the qualitative properties of the equations. If these properties are important to you, then you should include them in your loss function.</p>\n<p>This is not part of your question, but I'll comment on it ... |
[
false,
false,
false,
false
] | [
{
"answer_html": "<blockquote>\n<p>monothonic</p>\n</blockquote>\n<p>I'm sure you meant monotonic.</p>\n<blockquote>\n<p>I am looking for a fast way to solve the problem</p>\n</blockquote>\n<p>Are you actually? I think if you were, you would use something off-the-shelf. "Simple iterative" and "fa... | community signals only; no scientific truth label | ranking | Let a 1D curve defined by $\left\{ {y}_{1}, {y}_{2}, \ldots, {y}_{n} \right\}$ sampled on a uniform grid.
I want to smooth the curve with the following properties:
The result, $\left\{ {z}_{1}, {z}_{2}, \ldots {z}_{n} \right\}$ should be smooth like Spline based method.
For a set of indices $\mathcal{I}$ t... | Scientific-Answer-Ranking:scicomp:45334 | [
3,
0,
2,
1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<blockquote>\n<p>monothonic</p>\n</blockquote>\n<p>I'm sure you meant monotonic.</p>\n<blockquote>\n<p>I am looking for a fast way to solve the problem</p>\n</blockquote>\n<p>Are you actually? I think if you were, you would use something off-the... |
[
true,
false
] | [
{
"answer_html": "<p>One such certificate would be a complete basis of eigenvectors for <span class=\"math-container\">$A$</span>. Obviously the size of that would be <span class=\"math-container\">$O(n^2)$</span>.</p>\n<p>Assuming all the eigenvalues are distinct, verification would only be needed to multiply... | community signals only; no scientific truth label | ranking | I have an $n \times n$ sparse, symmetric matrix $A$ with an average of $\alpha$ nonzeros per row, so that $\operatorname{nnz}(A) = \alpha n$. Is it possible to generate an $O(n^2)$-size certificate that the matrix is positive definite, that can be checked in $O(\alpha^2 n^2)$ time or similar? E.g., I can do it in $O(n^... | Scientific-Answer-Ranking:scicomp:45365 | [
5,
3
] | train | {
"accepted_answer_id": 45373,
"answers": [
{
"answer_html": "<p>One such certificate would be a complete basis of eigenvectors for <span class=\"math-container\">$A$</span>. Obviously the size of that would be <span class=\"math-container\">$O(n^2)$</span>.</p>\n<p>Assuming all the eigenvalues are disti... |
[
false,
false
] | [
{
"answer_html": "<p>In the end, a Crank-Nicolson (CN) scheme is a way to resolve a differential operator, be it space or time. You can call a first order backward finite difference "backward Euler" as in the time integration scheme, but that doesn't necessarily help people get what you mean.</p>\n<p>... | community signals only; no scientific truth label | ranking | I would like to ask whether the Crank-Nicolson Method can be used to approximate derivatives for PDE that doesn't involve time variable, because i've been reading this article that solves Poisson equation using Method of Lines with CN. It also confuses me, where as shown in the picture, why do they apply CN method on t... | Scientific-Answer-Ranking:scicomp:45369 | [
3,
2
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>In the end, a Crank-Nicolson (CN) scheme is a way to resolve a differential operator, be it space or time. You can call a first order backward finite difference "backward Euler" as in the time integration scheme, but that doesn't ne... |
[
false,
false,
false,
false
] | [
{
"answer_html": "<p>It is possible you already do these things, but here are my two cents:</p>\n<p>Turbulence and chemical reactions will make your flow field quite chaotic and it is near impossible to see what is going on when seeing these directly. My approach would be to mostly visualize and inspect time-av... | community signals only; no scientific truth label | ranking | I've been working as an aerospace engineer for a couple years now, and my job comprises mainly of building/running/analyzing CFD simulations and using their results to inform design decisions. I find myself running a lot of DOEs and trade studies, and it's very interesting work.
Initially, my group gave me simpler ... | Scientific-Answer-Ranking:scicomp:45380 | [
4,
2,
3,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>It is possible you already do these things, but here are my two cents:</p>\n<p>Turbulence and chemical reactions will make your flow field quite chaotic and it is near impossible to see what is going on when seeing these directly. My approach... |
[
false,
false
] | [
{
"answer_html": "<p>I think the paper by Gassner et al. discusses weak stability using a semi-norm rather than a norm. This means that the discretized problem does not need to be positive definite, which could perhaps be considered somewhat misleading. Note that weak stability of BR1 was also discussed by Arno... | community signals only; no scientific truth label | ranking | It is well known that the BR1 scheme is not stable for pure diffusion problems in the standard discontinuous Galerkin setting. The standard explanation is that BR1 lacks a penalty term, so the bilinear form fails to be coercive.
However, BR1 is reported to be stable when used within DGSEM (the DG Spectral Element M... | Scientific-Answer-Ranking:scicomp:45416 | [
2,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>I think the paper by Gassner et al. discusses weak stability using a semi-norm rather than a norm. This means that the discretized problem does not need to be positive definite, which could perhaps be considered somewhat misleading. Note that... |
[
false,
false
] | [
{
"answer_html": "<p>This doesn't directly address your specific question but I can't fit my\ncomments in an actual "Comment".</p>\n<p>I google "origami tube" and I get pictures of foldable paper tubes.\nI have no idea how you would do a simple stability analysis of such a\nstructure and you... | community signals only; no scientific truth label | ranking | I am working on the stochastic buckling analysis of origami tubes using the bar-and-hinge model. In this framework, the in-plane stiffness of the tube is modeled with truss elements, and the out-of-plane stiffness is modeled with rotational springs. Interested readers may refer to the ``Nonlinear mechanics of non-rigid... | Scientific-Answer-Ranking:scicomp:45444 | [
4,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>This doesn't directly address your specific question but I can't fit my\ncomments in an actual "Comment".</p>\n<p>I google "origami tube" and I get pictures of foldable paper tubes.\nI have no idea how you would do a simpl... |
[
false,
false
] | [
{
"answer_html": "<p>The gist of the problem is (as the Author has suggested) to "assign" or match terms with known exponents of the first Laurent polynomial with terms with exponents depending on the variables <span class=\"math-container\">$x_{ij}$</span> in the second Laurent polyomial.</p>\n<p>The... | community signals only; no scientific truth label | ranking | I am trying to solve a linear system of equations that comes from equating two Laurent polynomials (https://en.wikipedia.org/wiki/Laurent_polynomial). The first such polynomial has known numeric values of its exponents, while the second polynomial has the exponents depending linearly on variables we are trying to solve... | Scientific-Answer-Ranking:scicomp:45472 | [
2,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>The gist of the problem is (as the Author has suggested) to "assign" or match terms with known exponents of the first Laurent polynomial with terms with exponents depending on the variables <span class=\"math-container\">$x_{ij}$</s... |
[
false,
false
] | [
{
"answer_html": "<p>Globally, for a system of size <span class=\"math-container\">$n$</span>, the LU factorisation is built with <span class=\"math-container\">$O(n^3)$</span> floating point operations, and each linear solve with it requires two <span class=\"math-container\">$O(n^2)$</span> triangular solve.<... | community signals only; no scientific truth label | ranking | I'm solving the incompressible Navier-Stokes equations using a fractional-step (Chorin projection) method on a uniform 2D Cartesian grid of size $N \times N$ (so $n = N^2$ total pressure unknowns). The pressure Poisson equation at each timestep is:
$$\nabla^2 p = \frac{\rho}{\Delta t} \nabla \cdot \mathbf{u}^*$$
... | Scientific-Answer-Ranking:scicomp:45479 | [
4,
4
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Globally, for a system of size <span class=\"math-container\">$n$</span>, the LU factorisation is built with <span class=\"math-container\">$O(n^3)$</span> floating point operations, and each linear solve with it requires two <span class=\"ma... |
[
false,
false,
true
] | [
{
"answer_html": "<p>From my eye, the biggest issue is that your timestep is simply too large. Decrease it, either explicitly or by allowing an adaptive-timestep method to meet a specified tolerance. You can see that, for your existing code (repaired to actually be able to run) and a timestep ten times more fin... | community signals only; no scientific truth label | ranking | I'm simulating the Earth's orbit around the Sun using three different numerical integration methods: Euler, RK2 (midpoint), and Velocity Verlet. Since RK2 and Velocity Verlet are higher-order methods, I expected them to produce more accurate trajectories than Euler when using the same initial conditions and time step.
... | Scientific-Answer-Ranking:scicomp:45487 | [
6,
7,
2
] | train | {
"accepted_answer_id": 45503,
"answers": [
{
"answer_html": "<p>From my eye, the biggest issue is that your timestep is simply too large. Decrease it, either explicitly or by allowing an adaptive-timestep method to meet a specified tolerance. You can see that, for your existing code (repaired to actually... |
[
false,
true
] | [
{
"answer_html": "<p>I'm going to read into your question a little and infer that you want to, at least in part, vectorise your code. You've gotten about halfway there. Try:</p>\n<pre class=\"lang-py prettyprint-override\"><code>import numpy as np\nimport matplotlib.pyplot as plt\n\nG = 4 * np.pi**2\nM_sun = 1 ... | community signals only; no scientific truth label | ranking | Can someone please tell me why these two codes don't give the same answer?
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.animation import FuncAnimation
G = 4 * (np.pi)**2
M_sun = 1 # solar mass
distance = 1 # AU
temps = 1 # year
M_earth = 3.002513826043238e-06 # solar mass
v_earth = 2 * np... | Scientific-Answer-Ranking:scicomp:45488 | [
8,
6
] | train | {
"accepted_answer_id": 45492,
"answers": [
{
"answer_html": "<p>I'm going to read into your question a little and infer that you want to, at least in part, vectorise your code. You've gotten about halfway there. Try:</p>\n<pre class=\"lang-py prettyprint-override\"><code>import numpy as np\nimport matplo... |
[
false,
false
] | [
{
"answer_html": "<p>Haven’t found a site, but if looking for ladybirds who are named after their numbers of spots, search</p>\n<p>Coccinellidae punctata</p>\n<p>The first is the family of ladybirds, the second is spots.</p>\n",
"answer_id": 116017,
"answer_text": "Haven’t found a site, but if looking f... | community signals only; no scientific truth label | ranking | I'm interested in Ladybugs. I read a lot about the number of spots of ladybugs. The number seems to be between 0 and 24, but as far as I can see, not every number in between exist. Up to now, I found ladybugs species with 0, 2, 4, 5, 7, 10, 11, 13, 14, 16, 17, 18, 19, 22 and 24 spots. Do more exist? Is there a scientif... | Scientific-Answer-Ranking:biology:112952 | [
0,
1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Haven’t found a site, but if looking for ladybirds who are named after their numbers of spots, search</p>\n<p>Coccinellidae punctata</p>\n<p>The first is the family of ladybirds, the second is spots.</p>\n",
"answer_id": 116017,
"... |
[
false,
true
] | [
{
"answer_html": "<h2>Update</h2>\n<p>please see @bob1's answer below.</p>\n<h2>Original answer</h2>\n<p>I suspect that <a href=\"https://pubmed.ncbi.nlm.nih.gov/14447155/\" rel=\"nofollow noreferrer\">this</a> is the paper you are interested in but I can't find even an abstract of it due to the obscurity/loss ... | community signals only; no scientific truth label | ranking | I have recently read that Erwin Chargaff has discovered that the genome of phage phiX174 (ϕχ174) is single-stranded. However I could not find the paper reporting this discovery.
Is there a link to the paper reporting this finding?
Thank you. | Scientific-Answer-Ranking:biology:114114 | [
1,
2
] | train | {
"accepted_answer_id": 114122,
"answers": [
{
"answer_html": "<h2>Update</h2>\n<p>please see @bob1's answer below.</p>\n<h2>Original answer</h2>\n<p>I suspect that <a href=\"https://pubmed.ncbi.nlm.nih.gov/14447155/\" rel=\"nofollow noreferrer\">this</a> is the paper you are interested in but I can't fin... |
[
true,
false,
false
] | [
{
"answer_html": "<p>From <a href=\"https://en.wikipedia.org/wiki/Hardy%E2%80%93Weinberg_principle\" rel=\"nofollow noreferrer\">Wikipedia</a>, bold added by me:</p>\n<blockquote>\n<p>In population genetics, the Hardy–Weinberg principle, also known as the Hardy–Weinberg equilibrium, model, theorem, or law, stat... | community signals only; no scientific truth label | ranking | As I understand it, if a population is at Hardy-Weinberg equilibrium, then the genotype frequencies should be $$p^2 + 2pq + q^2 = 1,$$ given the allele frequencies of $p$ and $q$, which you can figure out if given the number of homozygous recessive individuals in a population (such as 1/10,000 babies are born with PKU,... | Scientific-Answer-Ranking:biology:114342 | [
2,
0,
0
] | train | {
"accepted_answer_id": 114345,
"answers": [
{
"answer_html": "<p>From <a href=\"https://en.wikipedia.org/wiki/Hardy%E2%80%93Weinberg_principle\" rel=\"nofollow noreferrer\">Wikipedia</a>, bold added by me:</p>\n<blockquote>\n<p>In population genetics, the Hardy–Weinberg principle, also known as the Hardy... |
[
false,
false
] | [
{
"answer_html": "<p>I think something like this could work. Arrows represent cut and join events of strands.</p>\n<p><a href=\"https://i.sstatic.net/F8spgeVo.jpg\" rel=\"nofollow noreferrer\"><img src=\"https://i.sstatic.net/F8spgeVo.jpg\" alt=\"enter image description here\" /></a></p>\n",
"answer_id": 11... | community signals only; no scientific truth label | ranking | In this answer (https://biology.stackexchange.com/a/108331/63707) @gaspanic provides a diagram of the before and after of a single crossover event where a linearised plasmid is integrated into a genome by homologous recombination, which is a very common methodology in synthetic biology for expression of heterologous pr... | Scientific-Answer-Ranking:biology:116337 | [
1,
1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>I think something like this could work. Arrows represent cut and join events of strands.</p>\n<p><a href=\"https://i.sstatic.net/F8spgeVo.jpg\" rel=\"nofollow noreferrer\"><img src=\"https://i.sstatic.net/F8spgeVo.jpg\" alt=\"enter image desc... |
[
false,
false
] | [
{
"answer_html": "<p>It is possible that over time, they would diverge from each other solely from the effects of the slight differences in the gene pools. Even if you distributed the genotypes equally between each group, there will be average differences that can be amplified over generations of reproduction.<... | community signals only; no scientific truth label | ranking | I already know that the divergence of one species into two can happen through a variety of methods.
part of a population is isolated and different environmental factors cause different selective pressures
sexual selection because certain traits are more considered more attractive in organisms
p... | Scientific-Answer-Ranking:biology:115965 | [
0,
2
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>It is possible that over time, they would diverge from each other solely from the effects of the slight differences in the gene pools. Even if you distributed the genotypes equally between each group, there will be average differences that ca... |
[
false,
false,
false
] | [
{
"answer_html": "<p><strong>Short answer</strong><br />\nNot all species of snake have lost all of their limbs completely</p>\n<p><strong>Background</strong><br />\nWhile snakes are generally considered to lack appendages, this is not entirely true. Not all species have lost their limbs completely, and vestigi... | community signals only; no scientific truth label | ranking | I understand the why, but how did snakes lose legs completely? In most other cases they become very small but still there (whale back legs, fly secondary wings, kiwi wings, etc.) but they almost never lose them completely. So how did snakes complete this process beyond most other animals undergoing a similar loss of li... | Scientific-Answer-Ranking:biology:116320 | [
23,
4,
3
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p><strong>Short answer</strong><br />\nNot all species of snake have lost all of their limbs completely</p>\n<p><strong>Background</strong><br />\nWhile snakes are generally considered to lack appendages, this is not entirely true. Not all spec... |
[
false,
false
] | [
{
"answer_html": "<p>Yes, penetrance would "vary in a somewhat consistent way between heterozygous and homozygous genotypes". Some genes may usually show that (for a phenotype) one particular allele shows 0% penetrance in the heterozygous genotype and 100% (complete) penetrance in the homozygous geno... | community signals only; no scientific truth label | ranking | I'm doing some self-directed study in genetics and microbiology. For example, I've viewed most of the videos from the MIT OpenCourseWare series 7.01SC Fundamentals of Biology (https://www.youtube.com/playlist?list=PLF83B8D8C87426E44) by Eric Lander and others. I have also read twenty or so papers, from individuals (and... | Scientific-Answer-Ranking:biology:116076 | [
-1,
-1
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>Yes, penetrance would "vary in a somewhat consistent way between heterozygous and homozygous genotypes". Some genes may usually show that (for a phenotype) one particular allele shows 0% penetrance in the heterozygous genotype and ... |
[
true,
false
] | [
{
"answer_html": "<p>It's a tricky query to answer, so here's some prelim info and someone can be more specific from there:</p>\n<p>Apocrine glands are a type of sweat gland found in certain mammals, including humans. These glands are responsible for producing a thick, odorous sweat that is involved in various ... | community signals only; no scientific truth label | ranking | I remember one, sweltering day in Malaysia, I was climbing the very long staircase to a Buddha statue in a cave, when I suddenly felt enveloped in an overpowering smell of sweat. My first thought was that I must have forgot to wash, possibly for several weeks, but then I realised that I was in the middle of a troupe of... | Scientific-Answer-Ranking:biology:112700 | [
2,
1
] | train | {
"accepted_answer_id": 112702,
"answers": [
{
"answer_html": "<p>It's a tricky query to answer, so here's some prelim info and someone can be more specific from there:</p>\n<p>Apocrine glands are a type of sweat gland found in certain mammals, including humans. These glands are responsible for producing ... |
[
false,
true
] | [
{
"answer_html": "<p>There are a number of pathways involved in anaerobic respiration. It's not like the Krebs cycle (TCA) where there's only one pathway in aerobic respiration. To be clear my professional background is carbon fixation. The reason aerobic respiration is important is it can get conflagrated (how... | community signals only; no scientific truth label | ranking | I have been teaching for a while (College level) and wish to check the accuracy of my material. I teach that anaerobic respiration and fermentation are different. In fermentation the NAD+ are re-generated and Glycolysis can go ~16x faster. But when I talk about anaerobic respiration I say that the process is the "same"... | Scientific-Answer-Ranking:biology:115723 | [
0,
1
] | train | {
"accepted_answer_id": 115776,
"answers": [
{
"answer_html": "<p>There are a number of pathways involved in anaerobic respiration. It's not like the Krebs cycle (TCA) where there's only one pathway in aerobic respiration. To be clear my professional background is carbon fixation. The reason aerobic respi... |
[
true,
false
] | [
{
"answer_html": "<p>Mice will easily manage 3 metres of swimming. I think that they can even swim under water for around this distance, as according to <a href=\"https://animalsanswers.com/can-mice-swim/\" rel=\"noreferrer\">Animalanswers.com</a>, they can hold their breath for up to 3 minutes and <a href=\"ht... | community signals only; no scientific truth label | ranking | According to other questions on this site (1 (https://biology.stackexchange.com/q/7592/77558), 2 (https://biology.stackexchange.com/q/1827/77558)), mammals should generally be able to swim to some extent. Wikipedia (https://en.wikipedia.org/wiki/House_mouse#Behavior) currently claims that "Mice are good jumpers, climbe... | Scientific-Answer-Ranking:biology:116028 | [
27,
23
] | train | {
"accepted_answer_id": 116029,
"answers": [
{
"answer_html": "<p>Mice will easily manage 3 metres of swimming. I think that they can even swim under water for around this distance, as according to <a href=\"https://animalsanswers.com/can-mice-swim/\" rel=\"noreferrer\">Animalanswers.com</a>, they can hol... |
[
false,
false,
false,
false
] | [
{
"answer_html": "<p>You're right to say that chemical reactions primarily involve the valence electrons of an atom. However, there are other factors that are key to understanding the difference in toxicity between lead and carbon. Mass isn’t really the explanation — correlation isn’t causation. Li and Be may b... | community signals only; no scientific truth label | ranking | I have read the different answers on the toxicity of heavy metals but I am still confused about the topic. Why does the mass of the nuclei matter when chemical reactions only involve the electrons. Carbon and lead are in the same chemical group and thus have the same chemical properties. | Scientific-Answer-Ranking:biology:114873 | [
12,
8,
2,
7
] | train | {
"accepted_answer_id": null,
"answers": [
{
"answer_html": "<p>You're right to say that chemical reactions primarily involve the valence electrons of an atom. However, there are other factors that are key to understanding the difference in toxicity between lead and carbon. Mass isn’t really the explanati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.