Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • I am obsessed with how to write in stata the row P(Asylum=A8) i think its the P value, I have attached a picture for more reference

    Click image for larger version

Name:	913ABD82-F2CA-4702-8963-99911E16B1B4.jpeg
Views:	1
Size:	1.17 MB
ID:	1661488

    A8) i think its the P value, I have attached a picture for more reference
    Last edited by Victor Kiondo; 25 Apr 2022, 16:22.

  • #2
    Victor:
    I'm afraid we do not share the same idea of full reference (as recommended by the FAQ. Thanks)! 😀
    Kind regards,
    Carlo
    (StataNow 18.5)

    Comment


    • #3
      Cant I even know whats a hint to that because I have no what that P is

      Comment


      • #4
        Victor:
        it may report the probability that asylum=A8, where A8 is a given level of a given categorical predictor.
        However, this is pure guess-work.
        If you could provide the full reference of the paper, things would be easier. Thanks.
        Kind regards,
        Carlo
        (StataNow 18.5)

        Comment


        • #5
          Here is the full reference of the paper Mr Carlo, Crime and Immigration:Evidence from large immigrant waves by Brian Bell,Francesco Fasani and Stephen Machin

          Comment


          • #6
            Victor:
            the full reference of the article is Bell, Brian, Fasani, Francesco and Machin, Stephen (2013) Crime and immigration: evidence from large immigrant waves. The Review of Economics and Statistics, 95 (4). pp. 1278-1290. ISSN 0034-6535 DOI: 10.1162/REST_a_00337
            There's also a working paper, that report different tables (that's why the FAQ ask for full (and unambiguous) reference!)
            the "A8 wave" is "... is the large inflow of workers from EU accession countries" (quoted reference: 1278).
            Hence the p you're interested in (Table 2; page 1283) expresses the statistical significance of the share of A8 wave members seeking asylum on the overall number of the asylum seekers.
            Kind regards,
            Carlo
            (StataNow 18.5)

            Comment


            • #7
              Victor:
              you may want to try:
              Code:
              gen wanted=A8/Asylum
              Kind regards,
              Carlo
              (StataNow 18.5)

              Comment


              • #8
                Stata's feedback is that option gen not allowed

                Comment


                • #9
                  Victor:
                  are you sure?
                  Code:
                  . set ob 10
                  Number of observations (_N) was 0, now 10.
                  
                  . gen Asylum=1000*runiform()
                  
                  . gen A8=100*runiform()
                  
                  . gen wanted= A8/ Asylum
                  
                  . list
                  
                       +--------------------------------+
                       |   Asylum         A8     wanted |
                       |--------------------------------|
                    1. | 348.8717   20.47095   .0586776 |
                    2. | 266.8857   89.27587   .3345097 |
                    3. | 136.6463   58.44658   .4277216 |
                    4. | 28.55687   36.97791   1.294887 |
                    5. | 868.9333   85.06309   .0978937 |
                       |--------------------------------|
                    6. | 350.8549   39.13819   .1115509 |
                    7. | 71.10509   11.96613    .168288 |
                    8. |  323.368   75.42434   .2332462 |
                    9. | 555.1031   69.50233   .1252062 |
                   10. |  875.991   68.66152   .0783815 |
                       +--------------------------------+
                  
                  .
                  Kind regards,
                  Carlo
                  (StataNow 18.5)

                  Comment

                  Working...
                  X