How to break math formula inside table? The 2019 Stack Overflow Developer Survey Results Are...
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
How to type this arrow in math mode?
A female thief is not sold to make restitution -- so what happens instead?
What information about me do stores get via my credit card?
Why doesn't shell automatically fix "useless use of cat"?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
Old scifi movie from the 50s or 60s with men in solid red uniforms who interrogate a spy from the past
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
What do I do when my TA workload is more than expected?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
How to support a colleague who finds meetings extremely tiring?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Getting crown tickets for Statue of Liberty
Why couldn't they take pictures of a closer black hole?
What does Linus Torvalds mean when he says that Git "never ever" tracks a file?
How can I define good in a religion that claims no moral authority?
The phrase "to the numbers born"?
What force causes entropy to increase?
Finding the area between two curves with Integrate
Dropping list elements from nested list after evaluation
Deal with toxic manager when you can't quit
How to notate time signature switching consistently every measure
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Why not take a picture of a closer black hole?
How to break math formula inside table?
The 2019 Stack Overflow Developer Survey Results Are In
There are some mathematical formulas in the table that don't automatic line break, resulting in poor display and Overfull
warning. So, how to fix it?
Here is the latex minimal working example:
documentclass{article}
% support for `multirow` command
usepackage{multirow}
begin{document}
Let $ (X_{1}, X_{2}, ldots, X_{n_{1}}) $ denote a random sample of size $ n_{1} $ from a distribution that is $ X sim N(mu_{1}, sigma_{1}^{2}) $, $ (Y_{1}, Y_{2}, ldots, Y_{n_{2}}) $ denote a random sample of size $ n_{2} $ from a distribution that is $ Y sim N(mu_{2}, sigma_{2}^{2}) $, respectively. $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ is the corresponding sample mean and sample variance, and
[
S_{ omega}^{2} = frac{(n_{1} - 1) S_{1}^{2} + (n_{2} - 1) S_{2}^{2}}{n_{1} + n_{2} - 2}
]
Note that two random samples are independent, and $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ are unknown parameters.
The following table lists the interval estimator of $ mu_{1} - mu_{2} $ and $ sigma_{1}^{2} / sigma_{2}^{2} $ with $ 1 - alpha $ confidence interval.
begin{table}[ht]
caption{Interval estimator for difference of means and ratio of variance in two normal populations}
centering
begin{tabular}{c|c|c}
hline
multicolumn{2}{c|}{unknown parameter} & $ 1 - alpha $ confidence interval tabularnewline
hline
multirow{2}*{$ mu_{1} - mu_{2} $} & $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ known & $ left( overline{X} - overline{Y} - U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}}, overline{X} - overline{Y} + U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}} right) $ tabularnewline
cline{2-3}
& $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ unknown, but $ sigma_{1}^{2} = sigma_{2}^{2} $ & $ left( overline{X} - overline{Y} - T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}}, overline{X} - overline{Y} + T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}} right) $ tabularnewline
hline
multicolumn{2}{c|}{$ sigma_{1}^{2} / sigma_{2}^{2} $} & $ left( frac{S_{1}^{2} / S_{2}^{2}}{F_{alpha / 2} (n_{1} - 1, n_{2} - 1)}, frac{S_{1}^{2} / S_{2}^{2}}{F_{1- alpha / 2} (n_{1} - 1, n_{2} - 1)} right) $ tabularnewline
hline
end{tabular}
end{table}
end{document}
tables math-mode multirow multicolumn
New contributor
add a comment |
There are some mathematical formulas in the table that don't automatic line break, resulting in poor display and Overfull
warning. So, how to fix it?
Here is the latex minimal working example:
documentclass{article}
% support for `multirow` command
usepackage{multirow}
begin{document}
Let $ (X_{1}, X_{2}, ldots, X_{n_{1}}) $ denote a random sample of size $ n_{1} $ from a distribution that is $ X sim N(mu_{1}, sigma_{1}^{2}) $, $ (Y_{1}, Y_{2}, ldots, Y_{n_{2}}) $ denote a random sample of size $ n_{2} $ from a distribution that is $ Y sim N(mu_{2}, sigma_{2}^{2}) $, respectively. $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ is the corresponding sample mean and sample variance, and
[
S_{ omega}^{2} = frac{(n_{1} - 1) S_{1}^{2} + (n_{2} - 1) S_{2}^{2}}{n_{1} + n_{2} - 2}
]
Note that two random samples are independent, and $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ are unknown parameters.
The following table lists the interval estimator of $ mu_{1} - mu_{2} $ and $ sigma_{1}^{2} / sigma_{2}^{2} $ with $ 1 - alpha $ confidence interval.
begin{table}[ht]
caption{Interval estimator for difference of means and ratio of variance in two normal populations}
centering
begin{tabular}{c|c|c}
hline
multicolumn{2}{c|}{unknown parameter} & $ 1 - alpha $ confidence interval tabularnewline
hline
multirow{2}*{$ mu_{1} - mu_{2} $} & $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ known & $ left( overline{X} - overline{Y} - U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}}, overline{X} - overline{Y} + U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}} right) $ tabularnewline
cline{2-3}
& $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ unknown, but $ sigma_{1}^{2} = sigma_{2}^{2} $ & $ left( overline{X} - overline{Y} - T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}}, overline{X} - overline{Y} + T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}} right) $ tabularnewline
hline
multicolumn{2}{c|}{$ sigma_{1}^{2} / sigma_{2}^{2} $} & $ left( frac{S_{1}^{2} / S_{2}^{2}}{F_{alpha / 2} (n_{1} - 1, n_{2} - 1)}, frac{S_{1}^{2} / S_{2}^{2}}{F_{1- alpha / 2} (n_{1} - 1, n_{2} - 1)} right) $ tabularnewline
hline
end{tabular}
end{table}
end{document}
tables math-mode multirow multicolumn
New contributor
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago
add a comment |
There are some mathematical formulas in the table that don't automatic line break, resulting in poor display and Overfull
warning. So, how to fix it?
Here is the latex minimal working example:
documentclass{article}
% support for `multirow` command
usepackage{multirow}
begin{document}
Let $ (X_{1}, X_{2}, ldots, X_{n_{1}}) $ denote a random sample of size $ n_{1} $ from a distribution that is $ X sim N(mu_{1}, sigma_{1}^{2}) $, $ (Y_{1}, Y_{2}, ldots, Y_{n_{2}}) $ denote a random sample of size $ n_{2} $ from a distribution that is $ Y sim N(mu_{2}, sigma_{2}^{2}) $, respectively. $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ is the corresponding sample mean and sample variance, and
[
S_{ omega}^{2} = frac{(n_{1} - 1) S_{1}^{2} + (n_{2} - 1) S_{2}^{2}}{n_{1} + n_{2} - 2}
]
Note that two random samples are independent, and $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ are unknown parameters.
The following table lists the interval estimator of $ mu_{1} - mu_{2} $ and $ sigma_{1}^{2} / sigma_{2}^{2} $ with $ 1 - alpha $ confidence interval.
begin{table}[ht]
caption{Interval estimator for difference of means and ratio of variance in two normal populations}
centering
begin{tabular}{c|c|c}
hline
multicolumn{2}{c|}{unknown parameter} & $ 1 - alpha $ confidence interval tabularnewline
hline
multirow{2}*{$ mu_{1} - mu_{2} $} & $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ known & $ left( overline{X} - overline{Y} - U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}}, overline{X} - overline{Y} + U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}} right) $ tabularnewline
cline{2-3}
& $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ unknown, but $ sigma_{1}^{2} = sigma_{2}^{2} $ & $ left( overline{X} - overline{Y} - T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}}, overline{X} - overline{Y} + T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}} right) $ tabularnewline
hline
multicolumn{2}{c|}{$ sigma_{1}^{2} / sigma_{2}^{2} $} & $ left( frac{S_{1}^{2} / S_{2}^{2}}{F_{alpha / 2} (n_{1} - 1, n_{2} - 1)}, frac{S_{1}^{2} / S_{2}^{2}}{F_{1- alpha / 2} (n_{1} - 1, n_{2} - 1)} right) $ tabularnewline
hline
end{tabular}
end{table}
end{document}
tables math-mode multirow multicolumn
New contributor
There are some mathematical formulas in the table that don't automatic line break, resulting in poor display and Overfull
warning. So, how to fix it?
Here is the latex minimal working example:
documentclass{article}
% support for `multirow` command
usepackage{multirow}
begin{document}
Let $ (X_{1}, X_{2}, ldots, X_{n_{1}}) $ denote a random sample of size $ n_{1} $ from a distribution that is $ X sim N(mu_{1}, sigma_{1}^{2}) $, $ (Y_{1}, Y_{2}, ldots, Y_{n_{2}}) $ denote a random sample of size $ n_{2} $ from a distribution that is $ Y sim N(mu_{2}, sigma_{2}^{2}) $, respectively. $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ is the corresponding sample mean and sample variance, and
[
S_{ omega}^{2} = frac{(n_{1} - 1) S_{1}^{2} + (n_{2} - 1) S_{2}^{2}}{n_{1} + n_{2} - 2}
]
Note that two random samples are independent, and $ overline{X} $, $ S_{1}^{2} $, $ overline{Y} $, $ S_{2}^{2} $ are unknown parameters.
The following table lists the interval estimator of $ mu_{1} - mu_{2} $ and $ sigma_{1}^{2} / sigma_{2}^{2} $ with $ 1 - alpha $ confidence interval.
begin{table}[ht]
caption{Interval estimator for difference of means and ratio of variance in two normal populations}
centering
begin{tabular}{c|c|c}
hline
multicolumn{2}{c|}{unknown parameter} & $ 1 - alpha $ confidence interval tabularnewline
hline
multirow{2}*{$ mu_{1} - mu_{2} $} & $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ known & $ left( overline{X} - overline{Y} - U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}}, overline{X} - overline{Y} + U_{frac{alpha}{2}} sqrt{frac{sigma_{1}^{2}}{n_{1}} + frac{sigma_{2}^{2}}{n_{2}}} right) $ tabularnewline
cline{2-3}
& $ sigma_{1}^{2} $, $ sigma_{2}^{2} $ unknown, but $ sigma_{1}^{2} = sigma_{2}^{2} $ & $ left( overline{X} - overline{Y} - T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}}, overline{X} - overline{Y} + T_{frac{alpha}{2}} (n_{1} + n_{2} - 2) S_{omega} sqrt{frac{1}{n_{1}} + frac{1}{n_{2}}} right) $ tabularnewline
hline
multicolumn{2}{c|}{$ sigma_{1}^{2} / sigma_{2}^{2} $} & $ left( frac{S_{1}^{2} / S_{2}^{2}}{F_{alpha / 2} (n_{1} - 1, n_{2} - 1)}, frac{S_{1}^{2} / S_{2}^{2}}{F_{1- alpha / 2} (n_{1} - 1, n_{2} - 1)} right) $ tabularnewline
hline
end{tabular}
end{table}
end{document}
tables math-mode multirow multicolumn
tables math-mode multirow multicolumn
New contributor
New contributor
New contributor
asked 3 mins ago
BillBill
1
1
New contributor
New contributor
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago
add a comment |
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Bill is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484439%2fhow-to-break-math-formula-inside-table%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Bill is a new contributor. Be nice, and check out our Code of Conduct.
Bill is a new contributor. Be nice, and check out our Code of Conduct.
Bill is a new contributor. Be nice, and check out our Code of Conduct.
Bill is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f484439%2fhow-to-break-math-formula-inside-table%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You should set the width of columns in the table, and use some environment for line break in math mode.
– JouleV
36 secs ago