请问统计大佬,在stata上,如何实现配对卡方检验,mcnemar检验?

请问统计大佬,在stata上,如何实现配对卡方检验,mcnemar检验?