Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iebaltab rewrite kb #288

Merged
merged 145 commits into from
Nov 22, 2022
Merged

iebaltab rewrite kb #288

merged 145 commits into from
Nov 22, 2022

Conversation

kbjarkefur
Copy link
Contributor

Please provide comments in this PR

@bbdaniels
Copy link
Contributor

make option onerow the default when the number of observations is not changing

I vote no for backward compatibility. We have broken backward compatibility in this version for some cases where it is a really good case for it. I do not think this is as important.

My vote would be to do it now. If we're already breaking backward compatibility, better to make all changes we want to that will break it now. That's a weak preference, though. @bbdaniels , what do you think?

I am always in favor of breaking compatibility for big functionality upgrades at major versions! But I don't think this is supposed to be a major version -- primarily a rewrite so that we can do that in the future? So in this case I would say keep things backward compatible and don't have a major version, then let's carry over a list of compatibility-breaking functionality and syntax changes for the next version.

@kbjarkefur
Copy link
Contributor Author

add option to make "Total" the first column in the table

How important? Can this be pushed to a later version? I am keen to get this version out, then we can add new features that we want.

Yeah, this can come later. It's just a bit counter intuitive, but nothing major. Moved it to issue #298

Fixed in 851a9c2

@kbjarkefur kbjarkefur changed the base branch from main to develop November 3, 2022 14:40
@kbjarkefur
Copy link
Contributor Author

make option onerow the default when the number of observations is not changing

Wont implement due to this argument made on Slack:

I am still not convinced this is the best way to got. Lets say all my columns has the same N. With the new default I would only have my Ns on a single row at the bottom. If then something changes to my data so one data point is missing. Then I would not get an error or a warning, instead the structure of my table would tacitly change. Is it only me who sees that as concerning or confusion at best. I still vote for keeping it as it is. As in the current default, the layout of the table does not change as the data change. And by adding the option onerow you add a requirement that the data should be in a certain way (i.e. N the same in a column across all rows). For those that know their data will always meet this condition they can run iebaltab with onerow always there, just like all of us who know we want to replace the already existing file run iebaltab with replace.

@luizaandrade
Copy link
Collaborator

luizaandrade commented Nov 7, 2022

From looking at the compiled latex file and comparing with the current SSC version, all the estimates are consistent, but the display still has some issues.
v6.4.pdf
v6.3.pdf

  • significance stars are not being exported, even when the stars option is explicitly called
  • can we leave the double bars at the bottom of the table?
  • can we also leave the extra spacing between variables? I find that easier to read
  • SEs are not in parenthesis
  • can we add a horizontal line before number of obs if using one row?
  • can we add an option to not show the number of obs for the pairwise tests?

@kbjarkefur
Copy link
Contributor Author

kbjarkefur commented Nov 8, 2022

SEs are not in parenthesis

Fixed in 3cef80d

@kbjarkefur
Copy link
Contributor Author

kbjarkefur commented Nov 8, 2022

significance stars are not being exported, even when the stars option is explicitly called

There is no option called stars, you should have received an error in the new version with that option. Anyways, there was a bug suppressing the stars in the tex tables, that is fixed in 3657647

@kbjarkefur
Copy link
Contributor Author

kbjarkefur commented Nov 8, 2022

can we leave the double bars at the bottom of the table?
can we add a horizontal line before number of obs if using one row?

fixed in c6418bf - but lests discuss if there should be one or two single lines when both f-test and onerow are used

@kbjarkefur
Copy link
Contributor Author

kbjarkefur commented Nov 8, 2022

can we also leave the extra spacing between variables? I find that easier to read

fixed in 0c5b756 - I also took the liberty to deprecate the option texvspace(string) that customize that space, but for every row. The whole point of returning results in matrices is for users to customize their tex tables outside iebaltab.

@kbjarkefur
Copy link
Contributor Author

can we add an option to not show the number of obs for the pairwise tests?

Suggest adding to an issue to get this version out

@luizaandrade
Copy link
Collaborator

significance stars are not being exported, even when the stars option is explicitly called

There is no option called stars, you should have received an error in the new version with that option. Anyways, there was a bug suppressing the stars in the tex tables, that is fixed in 3657647

Sorry, I meant the starlevels() option

@kbjarkefur kbjarkefur merged commit 8095d43 into develop Nov 22, 2022
@kbjarkefur kbjarkefur deleted the iebaltab-rewrite-kb branch November 22, 2022 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants